On Mon, 23 Jun 2008 16:23:55 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:

> hi there,
> my use case : I  want to be able to match documents when only a partial word 
> is provided. ie, searching for 'roc' or 'ock' should match documents 
> containing 'rock'.
> 
> As I understand, the way to solve this problem is to use the nGram tokenizer 
> @ index time and the nGram analyser  @ search time. I want at least 'sub 
> terms' of 2 to 6 characters indexed, so I can match substrings that length.
> 

Correction - i only get docs returned when the length of my query matches 
minGramSize. I changed minGramSize to 3 (+ restart service + reindexed) , and 
2-letter queries fail (as expected). 3 letter queries start working, but 
anything larger doesn't. 

B
_________________________
{Beto|Norberto|Numard} Meijome

I used to hate weddings; all the Grandmas would poke me and
say, "You're next sonny!" They stopped doing that when i
started to do it to them at funerals.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.

Reply via email to