Created
December 30, 2011 19:09
-
-
Save robdimarco/1541071 to your computer and use it in GitHub Desktop.
Updated schema.xml with untokenized field
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
<fieldType name="untokenized" class="solr.TextField"> | |
<analyzer> | |
<tokenizer class="solr.KeywordTokenizerFactory"/> | |
<filter class="solr.LowerCaseFilterFactory"/> | |
</analyzer> | |
</fieldType> | |
<fields> | |
<!-- ... --> | |
<field name="business_name_untokenized" stored="false" type="text_auto" multiValued="false" indexed="true"/> | |
</fields> | |
<copyField source="name_text" dest="name_untokenized" /> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment