solr.emptyschema.xml Maven / Gradle / Ivy
<schema name="empty" version="1.5"> <types> <fieldType name="uuid" class="solr.UUIDField" indexed="true" /> <fieldType name="db-id" class="solr.UUIDField" indexed="true" /> <fieldType name="db-ref" class="solr.UUIDField" indexed="true" /> <fieldType name="text" class="solr.StrField" indexed="false"/> <fieldType name="text-key" class="solr.StrField" sortMissingLast="true" indexed="true"/> <fieldType name="text-value" class="solr.TextField" positionIncrementGap="100" indexed="true"> <analyzer type="index"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> <fieldType name="text-words" class="solr.TextField" positionIncrementGap="100" indexed="true"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/> <fieldType name="integer" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/> <fieldType name="decimal" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/> <fieldType name="time" class="prompto.store.solr.TimeFieldType"/> <fieldType name="date" class="prompto.store.solr.DateFieldType"/> <fieldType name="datetime" class="prompto.store.solr.DateTimeFieldType"/> <fieldType name="version" class="prompto.store.solr.VersionFieldType"/> <fieldType name="blob" class="prompto.store.solr.BinaryFieldType"/> <fieldType name="image" class="prompto.store.solr.BinaryFieldType"/> <fieldType name="enumerated" class="solr.StrField" indexed="false"/> </types> <fields> <!-- If you remove this field, you must _also_ disable the update log in solrconfig.xml or Solr won't start. _version_ and update log are required for SolrCloud --> <field name="_version_" type="integer" indexed="true" stored="true" /> <!-- unique id of a prompto document --> <field name="dbId" type="db-id" indexed="true" stored="true" required="true" multiValued="false" /> </fields> <uniqueKey>dbId</uniqueKey> </schema>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy