lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel, Eric" <>
Subject RE: Google finance-like suggestible search field
Date Thu, 15 Jan 2009 02:18:47 GMT

Why don't you put all your "autocompletable" values into a single
document field and just query a single field?  Google seems to only use
two fields for autocomplete - symbol and company name.


-----Original Message-----
From: Hayes, Peter [] 
Sent: Wednesday, January 14, 2009 6:00 PM
Subject: Google finance-like suggestible search field

Hi all,

We are trying to implement a Google finance-like suggest as you type
search field.  The index is quite large and comprised of multiple fields
to search across so our initial implementation was to use a BooleanQuery
with multiple PrefixQuery across each field.  We quickly ran into the
TooManyClauses exception and are looking for alternatives.  

Is there an implementation pattern for this use case using lucene?  This
seems like a common feature on various sites and I'm wondering if lucene
can be used to support this.

Thanks in advance.

Peter Hayes

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message