lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AlexElba <ramal...@yahoo.com>
Subject Re: Appropriate analyzer
Date Tue, 21 Apr 2009 22:47:41 GMT


try to use RegexQuery



Artyom Sokolov wrote:
> 
> Hello.
> 
> Currently I'm trying to find something like an analyzer to solve the
> problem.
> 
> Actually, what I need is next: search on a query string step-by-step,
> trimming last char on each step. Small example:
> 
> In index we've: abc, abcdef, xyz
> When search on abcdefgh the most relevant result should be abcdef, while
> searching on abcde the best one is abc.
> 
> Thanks.
> 
> Sincerely,
> Artyom Sokolov
> 
> 

-- 
View this message in context: http://www.nabble.com/Appropriate-analyzer-tp23164855p23166323.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


Mime
View raw message