Hi Solr-Users,
i am trying to do a wildcard query on a dynamic textfield (_t), but don’t get
the right result.
The configuration for the field type is „text_general“, the default
configuration:
<fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" enablePositionIncrements="true" />
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" enablePositionIncrements="true" />
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
Input for the textfield is "test-or123" and my query looks like "test\-or*“.
It seems that the input is allready split into two words: „test“ and „or123“,
but that's just a guess.
Anyone who can help me, and know why i don’t find the document and whats todo
to make the quert working?
Regards!