0
是否可以在stopfilterfactory中包含多字停用詞Solr?如果是,請告訴我方式。在Solr中包含多字停用詞
現在首先我把所有多字的禁用詞在synonyms.txt文件,然後使用一個代名詞,這些話是stopWords.txt中,但它不工作。
是否可以在stopfilterfactory中包含多字停用詞Solr?如果是,請告訴我方式。在Solr中包含多字停用詞
現在首先我把所有多字的禁用詞在synonyms.txt文件,然後使用一個代名詞,這些話是stopWords.txt中,但它不工作。
我給一個嘗試這種語法
stopWords.txt中
stop word
more long stop word
的,它看起來像它的工作。看看我的測試用例 - https://github.com/MysterionRise/information-retrieval-adventure/blob/master/lucene5/src/main/scala/org/mystic/SynonymsAndStopwords.scala