Look at the normal ngram tokenizer. "Engine" with ngram size 3 would yield
"eng" "ngi" "gin" "ine" so a search for engi should match. You can play
around with the min/max values. Edge ngram is useful for prefix matching
but sounds like you want intra-word matching too? ("eng" should match "
ResidentEngineer")


On Tue, Nov 6, 2012 at 7:35 AM, Sohail Aboobaker <sabooba...@gmail.com>wrote:

> 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
>

Reply via email to