Re: Prefix Query for autocomplete - TooManyClauses

2009-11-13 Thread Otis Gospodnetic
.html searches 6M Wikipedia titles with a a *tiny* JVM heap. Otis - Original Message > From: Anjana Sarkar > To: java-user@lucene.apache.org > Sent: Fri, November 13, 2009 8:50:38 AM > Subject: Prefix Query for autocomplete - TooManyClauses > > We are using lucene for on

Re: Prefix Query for autocomplete - TooManyClauses

2009-11-13 Thread Anjana Sarkar
Hi Simon, Thank you very much for your reply. Maybe an example will help clarify my use case- Say I have the following two indexed columns with this data *data**boostfield* african ant10 alligator50 anthem20 antelope 30 another5

Re: Prefix Query for autocomplete - TooManyClauses

2009-11-13 Thread Simon Willnauer
Anjana, maybe I don't understand you question correctly but what you want to do is a spell suggestion kind of thing on terms in the index, right? You try to use prefix query to display those terms as an auto-completion?! So I assume that what you do is run a query and then get the possible terms f

Prefix Query for autocomplete - TooManyClauses

2009-11-13 Thread Anjana Sarkar
We are using lucene for one our projects here and has been working very well for last 2 years. The new requirement is to use it for autocomplete. Here , queries like a* or ab* pose a problem. I have set BooleanQuery.setMaxClauseCount( Integer.MAX_VALUE ) to get around the TooManyClausesException. T