Also look at ConstantScorePrefixQuery in Solr source. In the past I've used Solr with shingles and prefix queries to solve similar problems.
On Thu, Jan 15, 2009 at 7:29 AM, Hayes, Peter <peter.ha...@fmr.com> wrote: > 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 > > > -- Regards, Shalin Shekhar Mangar.