Hi all,
This is driving me crazy. In my data if I search "state" AND "GA" I get
hits. If I search "state" AND "OR" or "state" AND "IN" I get no hits even
though I can see examples of state AND IN in the content. I've tried
searching with "in" in lower case and quotes to no avail.
The data is
ry parser
you should escape you query string with QueryParser#escape before searching.
maybe I am misssing something, let me know if thats the case.
simon
On Wed, Jun 22, 2011 at 9:46 PM, Bob Rhodes wrote:
> Here is a follow-up. This is a larger example of some of the text I'm
> searching
he
ComplexPhraseQueryParser.
One other point to note. The indexes I'm searching were created with 2.1.4
using the StandardAnalyzer but I'm using 3.2.0 to search.
Bob
-Original Message-
From: Bob Rhodes [mailto:bob.rho...@trssllc.com]
Sent: Wednesday, June 22, 2011 11:56 AM
To:
Hi all,
I have some questions about searching 3.2. I have just upgraded from 2.4.1
to 3.2. I am using the standard analyzer to create the index and to search,
and one of the fields is called "querytext" and it has content like this
among other things: phoneNumber="(904) 555-1212". I've tried many d
xamine the actual contents of your index, it's invaluable.
PerFieldAnalyzerWrapper may be your friend . It would allow you to
use a different analyzer for your "state" field than others, which may
be very useful.
Best
Erick
On Mon, Oct 27, 2008 at 10:20 AM, Bob Rhodes
<[EMAIL
Hi all,
I'm hoping this is an easy question. I have a Lucene index that contains
names and states, and I'm having an issue when the state is Oregon,
specifically OR. Below is an example of the query I pass in and the
query string that QueryParser builds below it.
This works for every state except