t: Re: Issues trying to boost phrase containing stop word
Any suggestion?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Problem-trying-to-boost-phrase-containing-stop-word-tp4346860p4347068.html
Sent from the Solr - User mailing list archive at Nabble.com.
Notice: This emai
Any suggestion?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Problem-trying-to-boost-phrase-containing-stop-word-tp4346860p4347068.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Koji,
I'm using a copy field to preserve the original term with stopword. It's
mapped to titleExact.
textExact definition:
Hi Shamik,
I'm sorry but I don't understand why you use KeywordRepeatFilter.
I think it's normal to create separate fields to solve this kind of problems.
Why don't you have another separate field which has ShingleFilter as I
mentioned in the previous reply?
Koji
On 2017/07/20 12:13, shamik w
Thanks Koji, I've tried KeywordRepeatFilterFactory which keeps the original
term, but the Stopword filter in the analysis chain will remove it
nonetheless. That's why I thought of creating a separate field devoiding of
stopwords/stemmers. Let me know if I'm missing something here.
--
View this m
Hi Shamik,
How about using ShingleFilter which constructs token n-grams from a token
stream?
http://lucene.apache.org/core/6_6_0/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html
As for "about dynamic block", ShingleFilter produces "about dynamic" and "dynamic
block".
Th