Solr analyzer default type
For the definition below, what is the default type of the anal开发者_Python百科yzer? Is the definition assumed for both query and index analyzers?
<fieldType name="text_nicesort" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordMarkerFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
Yes, if the type is not defined, the same analyzer is used for both index and query.
精彩评论