RE: Query syntax on Keyword field question

2004-03-24 Thread Chad Small
, chad. -Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: Wed 3/24/2004 1:43 AM To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question Chad Small writes: Here

RE: Query syntax on Keyword field question

2004-03-24 Thread Morus Walter
Hi Chad, But I assume this fix won't come out for some time. Is there a way I can get this fix sooner? I'm up against a deadline and would very much like this functionality. Just get lucenes sources, change the line and recompile. The difficult part is to get a copy of JavaCC 2 (3 won't

RE: Query syntax on Keyword field question

2004-03-24 Thread Chad Small
syntax on Keyword field question Hi Chad, But I assume this fix won't come out for some time. Is there a way I can get this fix sooner? I'm up against a deadline and would very much like this functionality. Just get lucenes sources

RE: Query syntax on Keyword field question

2004-03-24 Thread Chad Small
: Wed 3/24/2004 8:00 AM To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question Hi Chad, But I assume this fix won't come out for some time

RE: Query syntax on Keyword field question

2004-03-24 Thread Otis Gospodnetic
To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question Hi Chad, But I assume this fix won't come out for some time. Is there a way I can get this fix sooner? I'm up against a deadline and would very much

RE: Query syntax on Keyword field question

2004-03-24 Thread Chad Small
- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Wed 3/24/2004 8:29 AM To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question JavaCC 3.2 works for me. Otis

RE: Query syntax on Keyword field question

2004-03-24 Thread Morus Walter
Chad Small writes: I'm getting this with 3.2: javacc-check: BUILD FAILED file:D:/applications/lucene-1.3-final/build.xml:97: ## JavaCC not found. JavaCC Home: /applications/javacc-3.2/bin JavaCC JAR:

RE: Query syntax on Keyword field question

2004-03-24 Thread Chad Small
Ahh, without the bin on the javacc.home - 3.2 seems to work for me to. -Original Message- From: Chad Small Sent: Wed 3/24/2004 8:34 AM To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question

Re: Query syntax on Keyword field question

2004-03-24 Thread Incze Lajos
On Tue, Mar 23, 2004 at 08:48:11PM -0600, Chad Small wrote: Thanks-you Erik and Incze. I now understand the issue and I'm trying to create a KeywordAnalyzer as suggested from you book excerpt, Erik: http://issues.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=6727 However, not being all

RE: Query syntax on Keyword field question

2004-03-23 Thread Chad Small
I have since learned that using the TermQuery instead of the MultiFieldQueryParser works for the keyword field in question below (HW-NCI_TOPICS). apiQuery = new BooleanQuery(); apiQuery.add(new TermQuery(new Term(category, HW-NCI_TOPICS)), true, false); This finds a match. I found a message

Re: Query syntax on Keyword field question

2004-03-23 Thread Erik Hatcher
QueryParser and Field.Keyword fields are a strange mix. For some background, check the archives as this has been covered pretty extensively. A quick answer is yes you can use MFQP and QP with keyword fields, however you need to be careful which analyzer you use. PerFieldAnalyzerWrapper is a

RE: Query syntax on Keyword field question

2004-03-23 Thread Chad Small
Cc: Subject: Re: Query syntax on Keyword field question On Tue, Mar 23, 2004 at 08:10:15PM -0500, Erik Hatcher wrote: QueryParser and Field.Keyword fields are a strange mix. For some background, check the archives as this has been covered pretty

RE: Query syntax on Keyword field question

2004-03-23 Thread Chad Small
-NCI_TOPICS +space Actual :category:HW -nci topics +space See anything? thanks, chad. -Original Message- From: Chad Small Sent: Tue 3/23/2004 8:48 PM To: Lucene Users List Cc: Subject: RE: Query syntax on Keyword field question

RE: Query syntax on Keyword field question

2004-03-23 Thread Morus Walter
Chad Small writes: Here is my attempt at a KeywordAnalyzer - although is not working? Excuse the length of the message, but wanted to give actual code. With this output: Analzying HW-NCI_TOPICS org.apache.lucene.analysis.WhitespaceAnalyzer: [HW-NCI_TOPICS]