lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vit <bulgako...@yahoo.com>
Subject Re: matching shingles
Date Sat, 22 Nov 2014 17:55:15 GMT
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.

Mime
View raw message