I set the following filed type
                <fieldType name="text_shingle" class="solr.TextField"
positionIncrementGap="100">
                        <analyzer>
                        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                        <filter class="solr.ShingleFilterFactory" 
minShingleSize="2"
maxShingleSize="5"
                                outputUnigrams="true" 
outputUnigramsIfNoShingles="false"
tokenSeparator=" "/>
                        </analyzer>
                </fieldType>

with minShingleSize="2"

But it allows to match a single word. What I am doing wrong?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/matching-shingles-tp4170259p4170364.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to