Hi, Is there a way to do an exact match search on a tokenized field?
I have a scenario which i need a field to be indexed and searchable regardless of the case or white spaces used. For this, I created a custom field type with the following configuration: <field name="propertyType" type="customtype" indexed="true" stored="true" /> <fieldType name="customtype" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.ASCIIFoldingFilterFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.PatternReplaceFilterFactory" pattern=" " replacement="-"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.KeywordTokenizerFactory"/> </analyzer> </fieldType> Even using KeywordTokenizerFactory on both index and query, all my searchs based on exact match stopped working. Is there a way to search exact match like a string field and at the same time use customs tokenizers aplied to that field? Thank's in advance *----------------------------------------------------------------------------------------------* *"E conhecereis a verdade, e a verdade vos libertará." (João 8:32)* *andre.maldonado*@gmail.com <andre.maldon...@gmail.com> (11) 9112-4227 <http://www.orkut.com.br/Main#Profile?uid=2397703412199036664> <http://www.facebook.com/profile.php?id=100000659376883> <http://twitter.com/andremaldonado> <https://profiles.google.com/105605760943701739931> <http://www.linkedin.com/pub/andr%C3%A9-maldonado/23/234/4b3> <http://www.youtube.com/andremaldonado>