The "side" attribute must be "front" or "back". Sorry, no "both", although
that sounds like a reasonable feature request.
"front" is the default side.
-- Jack Krupansky
-----Original Message-----
From: Sohail Aboobaker
Sent: Tuesday, November 06, 2012 7:35 AM
To: solr-user@lucene.apache.org
Subject: Re: Searching for Partial Words
Thanks Jack.
In the configuration below:
<fieldType name="text_edgngrm" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.EdgeNGramTokenizerFactory" side="front"
minGramSize="1" maxGramSize="1"/>
</analyzer>
</fieldType>
What are the possible values for "side"?
If I understand it correctly, minGramSize=3 and side=front, will
include eng* but not en*. Is this correct? So, the minGramSize is for
number of characters allowed in the specified side.
Does it allow side=both :) or something similar?
Regards,
Sohail