Filters are certainly a valid way to go. There are other approaches that have been discussed at length on the user list. Here's a link to a searchable user-list archive...
http://www.gossamer-threads.com/lists/lucene/java-user/ I'm certain that there are examples there. Best Erick On Jan 3, 2008 8:02 AM, tgospodinov <[EMAIL PROTECTED]> wrote: > > I am using a boolean query that is composed of wildcard queries that have > * > around each search term (*search* and *term*). Is there another way to > achieve the same result and stay away from wildcards? Thanks for the help. > > > Erick Erickson wrote: > > > > See Lucene In Action, well worth it even if it is built on an > > older code base... > > > > But it would also help if you gave us some indication of what > > it is that's giving you a TooManyClauses exception. Is it a > > date range? A wildcard? A ??? > > > > Best > > Erick > > > > On Jan 2, 2008 6:18 PM, tgospodinov <[EMAIL PROTECTED]> wrote: > > > >> > >> I was wondering if there's a good example of using filters out there? I > >> am > >> building a BooleanQuery and get a TooManyClauses exceptions, so I'm, > >> exploring using filters as a workaround. Any advice is appreciated. > >> Thanks. > >> -- > >> View this message in context: > >> http://www.nabble.com/Example-using-filters-tp14588320p14588320.html > >> 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] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Example-using-filters-tp14588320p14596587.html > 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] > >