Hi Vitaly,

I'm not sure I understand you correctly, why don't you put EdgeNGramFilter just 
after
ShingleFilter? That is:

<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.ShingleFilterFactory" minShingleSize="2" 
maxShingleSize="2"/>
<filter class="solr.EdgeNGramFilterFactory"/>

Koji

On 2015/10/15 22:47, vitaly bulgakov wrote:
I want to rephrase my question I asked in another post.
As far as I understand filter ShingleFilterFactory creates shingle as
strings.
But I want to apply more filters (like EdgeNgrams) to each token of a
shingle.

For example from "Home Improvement Service" I have two shingles:
"Home Improvement" and "Improvement Service".

I want to apply EdgeNgram to be able to do exact match to:
"Hom Improvem" and "Improvemen Servi" as new phrases.

Any, help, ideas are welcomed and appreciated.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Tokenize-ShingleFilterFactory-results-and-apply-filters-to-tokens-tp4234574.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to