Hi,
The main difference is that CommonGrams will take 2 adjacent words and put them
together, while NGram* stuff will take a single word and chop it up in sequences
of one or more characters/letters.
If you are stuck with auto-complete stuff, consider
http://sematext.com/products/autocomplete/index.html
Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
----- Original Message ----
> From: openvictor Open <openvictor@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thu, February 3, 2011 10:15:47 AM
> Subject: Re: Using terms and N-gram
>
> Thank you, I will do that and hopefuly it will be handy !
>
> But can someone explain me difference between CommonGramFIlterFactory et
> NGramFilterFactory ? ( Maybe the solution is there)
>
> Thank you all,
> best regards
>
> 2011/2/3 Grijesh <pintu.grijesh@gmail.com>
>
> >
> > Use analysis.jsp to see what happening at index time and query time with
> > your
> > input data.You can use highlighting to see if match found.
> >
> > -----
> > Thanx:
> > Grijesh
> > http://lucidimagination.com
> > --
> > View this message in context:
> >
>http://lucene.472066.n3.nabble.com/Using-terms-and-N-gram-tp2410938p2411244.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
|