Created
March 1, 2012 19:20
-
-
Save ogulcan/1952445 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<schema name="example core zero" version="1.1"> | |
<types> | |
<fieldtype name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/> | |
</types> | |
<fields> | |
<!-- general --> | |
<field name="id" type="string" indexed="true" stored="true" multiValued="false" required="true"/> | |
<field name="type" type="string" indexed="true" stored="true" multiValued="false" /> | |
<field name="name" type="string" indexed="true" stored="true" multiValued="false" /> | |
<field name="core0" type="string" indexed="true" stored="true" multiValued="false" /> | |
</fields> | |
<!-- field to use to determine and enforce document uniqueness. --> | |
<uniqueKey>id</uniqueKey> | |
<!-- field for the QueryParser to use when an explicit fieldname is absent --> | |
<defaultSearchField>name</defaultSearchField> | |
<!-- SolrQueryParser configuration: defaultOperator="AND|OR" --> | |
<solrQueryParser defaultOperator="OR"/> | |
</schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment