Hi everybody, I added the following fieldtype in schema.xml :
<fieldtype name="st_numbers" class="solr.TextField"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.WordDelimiterFilterFactory" catenateAll="1" /> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldtype> I want to index two types of strings, for example : 12345678 1234-5678 No matter which of the above strings is stored, I'd like to match it by using either 12345678 or 1234-5678. Everything is working fine, except for the case when 12345678 is stored and I try to match it using 1234-5678. I must be doing something wrong, maybe in the schema. Does anyone have any suggestions? Any help would be greatly appreciated.