Daniel Naber writes:
On Thursday 28 October 2004 19:03, Justin Swanhart wrote:
Have you tried making a term query by hand and testing to see if it
works?
Term t = new Term(field, this is a \test\);
PhraseQuery pq = new PhraseQuery(t);
That's not a proper PharseQuery, it searches
\\
http://issues.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=7351
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Searching for a phrase that contains quote character
Date: Wed, 24 Mar 2004 21:25:16 +
I'd like to search for a phrase that contains the quote character. I've tried
escaping
PROTECTED]msgNo=7351
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Searching for a phrase that contains quote character
Date: Wed, 24 Mar 2004 21:25:16 +
I'd like to search for a phrase that contains the quote character. I've tried
escaping the quote character, but am receiving
]
Subject: Searching for a phrase that contains quote character
Date: Wed, 24 Mar 2004 21:25:16 +
I'd like to search for a phrase that contains the quote character.
I've tried
escaping the quote character, but am receiving a ParseException from
the
QueryParser:
For example to search
I am using a NullAnalyzer for this field.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 2:00 PM
To: Lucene Users List
Subject: Re: Searching for a phrase that contains quote character
On Oct 28, 2004, at 1:03 PM, Justin Swanhart
On Thursday 28 October 2004 19:03, Justin Swanhart wrote:
Have you tried making a term query by hand and testing to see if it
works?
Term t = new Term(field, this is a \test\);
PhraseQuery pq = new PhraseQuery(t);
That's not a proper PharseQuery, it searches for *one*
term this is a test
absolutely correct. sorry about that. shouldn't code before coffee :)
On Thu, 28 Oct 2004 20:16:16 +0200, Daniel Naber
[EMAIL PROTECTED] wrote:
On Thursday 28 October 2004 19:03, Justin Swanhart wrote:
Have you tried making a term query by hand and testing to see if it
works?
Term
] [EMAIL PROTECTED]
Subject: Searching for a phrase that contains quote character
Date: Wed, 24 Mar 2004 21:25:16 +
I'd like to search for a phrase that contains the quote character.
I've tried
escaping the quote character, but am receiving a ParseException from
the
QueryParser:
For example to search
List
Subject: Re: Searching for a phrase that contains quote character
On Oct 28, 2004, at 1:03 PM, Justin Swanhart wrote:
Have you tried making a term query by hand and testing to see if it
works?
Term t = new Term(field, this is a \test\);
PhraseQuery pq = new PhraseQuery(t);
That's
I'd like to search for a phrase that contains the quote character. I've tried
escaping the quote character, but am receiving a ParseException from the
QueryParser:
For example to search for the phrase:
this is a test
I'm trying the following
QueryParser.parse(field:\This is a
10 matches
Mail list logo