朋友,

我目前正在使用ksemmer在我用solr开发我的应用程序中执行stemming操作。发现了什么时候我们使用ksemmer时,它没有拍摄proTwords.txt

<analyzer type="query">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
    <filter class="solr.StopFilterFactory"
            ignoreCase="true"
            words="stopwords.txt"
            enablePositionIncrements="true"
            />
    <filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.EnglishPossessiveFilterFactory"/>
    <filter class="solr.KStemFilterFactory" protected="protwords.txt"/>

  </analyzer>
.

它不是在protected中将单词中的单词。这是kstem如何工作的?

有帮助吗?

解决方案

我检查了源代码,但我看不到实现.btw,我检查了solr 3.6的源代码。

它是在 snowballporterfilterfactory 但不是 kstemfilterfactory

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top