[英]How to configure solr schema.xml
I ma little downfallen by configuring the schema.xml for my wished searchresults. 通过为期望的搜索结果配置schema.xml,我可能会有些失望。 Let me show u my use case: 让我向您展示我的用例:
Word in document: "ausschließlich" (without quotes) Search string: "schließ" (without quotes) so when I search for my searchstring, I want to find all the case, where "schließ" occours. 文档中的单词:“ausschließlich”(不带引号)搜索字符串:“schließ”(不带引号)因此,当我搜索我的搜索字符串时,我想查找所有情况,其中“schließ”出现了。 such as: 如:
ausschließlich ausschließlich
schließend schließend
schließen schließen
... ...
but not 但不是
sch.... SCH ....
schl... SCHL ...
schli... schli ...
and so on.. 等等..
this is my analyzer config: 这是我的分析仪配置:
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory" />
<filter class="solr.LowerCaseFilterFactory" />
<filter class="solr.NGramTokenizerFactory" />
</analyzer>
would you please help me to configure it? 您能帮我配置一下吗? thanks a lot.. 非常感谢..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.