You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by hanu_bhambi <ha...@comviva.com> on 2012/04/09 12:31:24 UTC

Partial word match

Is it possible to match partial words using Lucene. we are using Standard
Analyzer for tokenization.

--
View this message in context: http://lucene.472066.n3.nabble.com/Partial-word-match-tp3896450p3896450.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: Partial word match

Posted by Steven A Rowe <sa...@syr.edu>.
Hi Hanu,

Depending on the nature of the partial word match you're looking for - do you want to only match partial words that match at the beginning of the word? - you should look either at NGramTokenFilter or EdgeNGramTokenFilter:

<http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-analyzers/org/apache/lucene/analysis/ngram/package-summary.html>

Steve

-----Original Message-----
From: hanu_bhambi [mailto:hanu.bhambi@comviva.com] 
Sent: Monday, April 09, 2012 6:31 AM
To: java-user@lucene.apache.org
Subject: Partial word match

Is it possible to match partial words using Lucene. we are using Standard Analyzer for tokenization.

--
View this message in context: http://lucene.472066.n3.nabble.com/Partial-word-match-tp3896450p3896450.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org