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
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
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,
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
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
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'
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,
>
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