I was thinking that you'd assemble a BooleanQuery, perhaps with phrase queries, perhaps not. The critical thing here is to add in a BooleanClause that included your filter on the relevant field (s).
Erick On Dec 7, 2007 9:57 AM, d33mb33 <[EMAIL PROTECTED]> wrote: > > > Erick Erickson wrote: > > > > Have you looked at Filters? Essentially, you construct a bitmap where > each > > bit corresponds to a document and pass that along into your search. > > Constructing a filter is surprisingly speedy. > > > > Thanks for the reply.. I'll take a look at filters. > > So in my "Charles Dickens starting with m" use case, should I make a > filter > for "Charles Dickens" and then do a prefix query on title passing "m"...? > > i.e. rewrite the quick query as a filter so the prefix and wildcard > queries > work against a smaller index. > > Or have I got this the wrong way around :-S > > -- > View this message in context: > http://www.nabble.com/Post-processing-to-get-around-TooManyClauses--tf4961564.html#a14213935 > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >