Re: EdgeNGramTokenizer

2007-11-04 Thread h t
http://www.shifttab.cn:8001/wiki 2007/10/31, Marco <[EMAIL PROTECTED]>: > > It seems that the problem is when I add the token created by > EdgeNGramTokenizer in in the index. > If the token contains a space (for example apple com) I have to add to > the index with Field.Inde

Re: EdgeNGramTokenizer

2007-10-30 Thread Marco
It seems that the problem is when I add the token created by EdgeNGramTokenizer in in the index. If the token contains a space (for example apple com) I have to add to the index with Field.Index.TOKENIZED otherwise the search cannot find it. If there is no space there is no problem even if I use

EdgeNGramTokenizer

2007-10-30 Thread Marco
Hi all, I'm following the suggestion of this forum on how create a suggestion service like google suggest. I'm parsing a words/rank file with my words. For each word, I'm adding a document with content and rank in in index: then I create a EdgeNGramTokenizer of the word. This g