Re: WildCardQuery and TooManyClauses

2008-09-19 Thread Konstantyn Smirnov
is gone, but is it the right way? -- View this message in context: http://www.nabble.com/WildCardQuery-and-TooManyClauses-tp16610177p19570188.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To un

Re: WildCardQuery and TooManyClauses

2008-09-18 Thread Konstantyn Smirnov
ther ways, than using the trunk? -- View this message in context: http://www.nabble.com/WildCardQuery-and-TooManyClauses-tp16610177p19557943.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To un

Re: WildCardQuery and TooManyClauses

2008-09-18 Thread Michael McCandless
ext: http://www.nabble.com/WildCardQuery-and-TooManyClauses-tp16610177p19555644.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

RE: WildCardQuery and TooManyClauses

2008-09-18 Thread Konstantyn Smirnov
Shall I override some other methods? Or shall I call the method directly? Thanx -- View this message in context: http://www.nabble.com/WildCardQuery-and-TooManyClauses-tp16610177p19555644.html Sent from the Lucene - Java Users mailing list archive at N

Re: WildCardQuery and TooManyClauses

2008-04-18 Thread Joe K
} > >return bits; > } > -Original Message- > From: Joe K [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 10, 2008 11:46 AM > To: java-user@lucene.apache.org > Subject: Re: WildCardQuery and TooManyClauses > > Donna, > so this doesn't w

RE: WildCardQuery and TooManyClauses

2008-04-14 Thread Beard, Brian
urn bits; } -Original Message- From: Joe K [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 11:46 AM To: java-user@lucene.apache.org Subject: Re: WildCardQuery and TooManyClauses Donna, so this doesn't work because search calls internaly MultiTermQuery.rewrite which causes T

Re: WildCardQuery and TooManyClauses

2008-04-10 Thread Joe K
Donna, so this doesn't work because search calls internaly MultiTermQuery.rewrite which causes TooManyClauses exception anyway even if the maxnumhits is set to 200 !! So I am lost again... Chose On Thu, Apr 10, 2008 at 3:02 PM, Donna L Gresh <[EMAIL PROTECTED]> wrote: > Doesn't the following d

Re: WildCardQuery and TooManyClauses

2008-04-10 Thread Joe K
Hi Donna, thanks for the reply! I didn't try yet, but you are probably right that this should work for me. The filter parameter and the fact that TopDocs doesn't have the getter to the scoreDocs were confusing to me. Thanks a lot, Chose On Thu, Apr 10, 2008 at 3:02 PM, Donna L Gresh <[EMAIL PRO

Re: WildCardQuery and TooManyClauses

2008-04-10 Thread Donna L Gresh
Doesn't the following do what you want with maxnumhits =200? TopDocs td; td = indexSearcher.search(query, filter, maxnumhits); where filter can be null Donna L. Gresh Services Research, Mathematical Sciences Department IBM T.J. Watson Research Center (914) 945-247

WildCardQuery and TooManyClauses

2008-04-10 Thread Joe K
Hello everybody, I know there was written a tons of words about this issue, but I'm just not clear enough about it. I have these facts: 1. my query is always 1 letter and *, eg. M* 2. i always want to get max 200 results, no more! 3. i don't want to fix this issue by setting maxClauseCount I jus