Hello, I'm using the following field type definition in schema.xml to enable partial match. However, this doesn't work. For example, if a field name is "name", value is "pork", after using the following configuration, searching for name:por return nothing. Even name:pork return nothing. But name:por* returns correct results. Can anyone help me with this problem? Thanks!
<fieldType name="string" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="15"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
