lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: prefix query help ?
Date Wed, 16 Apr 2008 02:05:46 GMT

On Apr 15, 2008, at 4:07 PM, robert engels wrote:

> we use this for name searching, so that you might have
>
> "engels r*"
>
> the problem being that the phrase "engels r" is quite unique, but  
> the term r* is not unique at all.
>
> Anything improve the handling of this in the current lucene?


You could tokenize differently and index pairs together.  Think  
searching for "engles_r*".

If that's not an option, make sure that those two are being joined via  
AND -- I think that will trigger the skipTo optimization when the  
posting lists for r* are scanned.

HTH,

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/


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


Mime
View raw message