Created
November 20, 2013 15:39
-
-
Save moskinson/7565198 to your computer and use it in GitHub Desktop.
schema.xml Solr Lucene, create a strField without accents, not a TextField tokenized
This file contains hidden or 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="string_without_accents" class="solr.TextField" > | |
| <analyzer type="index"> | |
| <tokenizer class="solr.KeywordTokenizerFactory"/> | |
| <filter class="solr.ASCIIFoldingFilterFactory"/> | |
| </analyzer> | |
| <analyzer type="query"> | |
| <tokenizer class="solr.KeywordTokenizerFactory"/> | |
| <filter class="solr.ASCIIFoldingFilterFactory"/> | |
| </analyzer> | |
| </fieldType> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment