RE: Question on wildcard queries, filters, scoring and TooManyClauses exception

2013-08-16 Thread Bill Chesky
g it a variable name of > prefixQuery doesn't make it so - what does > prefixQuery.getClass().getName() say? It's definitely returning a PrefixQuery. I checked that early on. thanks again, Bill -- Ian. On Thu, Aug 15, 2013 at 6:43 PM, Bill Chesky wrote: > Hello, &g

Question on wildcard queries, filters, scoring and TooManyClauses exception

2013-08-15 Thread Bill Chesky
Hello, I know this is a perennial question here because I've spent a lot of time searching for an answer. I've seen the discussions about the TooManyClauses exception and I understand generally why you get the it. I see lots of discussion about using filters to avoid it but I still can't get

RE: Analyzer on query question

2012-08-03 Thread Bill Chesky
DO: Close the StringReader // TODO: Handle terms that analyze into multiple terms (e.g., embedded punctuation) } -- Jack Krupansky -Original Message- From: Bill Chesky Sent: Friday, August 03, 2012 2:55 PM To: java-user@lucene.apache.org Subject: RE: Analyzer on query question Ian/Jack,

RE: Analyzer on query question

2012-08-03 Thread Bill Chesky
ld. If you prefer your way I won't argue with you. -- Ian. On Fri, Aug 3, 2012 at 5:57 PM, Bill Chesky wrote: > Ian, > > I gave this method a try, at least the way I understood your suggestion. > E.g. to search for the phrase "cells combine" I built up a string li

RE: Analyzer on query question

2012-08-03 Thread Bill Chesky
owball string"); Query q2 = qp.parse("some other snowball string"); BooleanQuery bq = new BooleanQuery(); bq.add(q1, ...); bq.add(q2, ...); bq.add(loads of other stuff); -- ian. On Fri, Aug 3, 2012 at 2:19 PM, Bill Chesky wrote: > Thanks Simon, > > Unfortunately, I'm

RE: Analyzer on query question

2012-08-03 Thread Bill Chesky
eally do need a wiki page for Lucene term analysis. -- Jack Krupansky -Original Message- From: Bill Chesky Sent: Friday, August 03, 2012 9:19 AM To: simon.willna...@gmail.com ; java-user@lucene.apache.org Subject: RE: Analyzer on query question Thanks Simon, Unfortunately, I'

RE: Analyzer on query question

2012-08-03 Thread Bill Chesky
types of queries? Bill -Original Message- From: Simon Willnauer [mailto:simon.willna...@gmail.com] Sent: Friday, August 03, 2012 3:43 AM To: java-user@lucene.apache.org; Bill Chesky Subject: Re: Analyzer on query question On Thu, Aug 2, 2012 at 11:09 PM, Bill Chesky wrote: > Hi, >

Analyzer on query question

2012-08-02 Thread Bill Chesky
Hi, I understand that generally speaking you should use the same analyzer on querying as was used on indexing. In my code I am using the SnowballAnalyzer on index creation. However, on the query side I am building up a complex BooleanQuery from other BooleanQuerys and/or PhraseQuerys on sever