Re: How to search by numbers

2010-04-19 Thread Erick Erickson
9 PM, Andy wrote: > > That works, and now that I re-test my original code, it also works. > > > Date: Mon, 19 Apr 2010 10:52:45 -0700 > > From: iori...@yahoo.com > > Subject: Re: How to search by numbers > > To: java-user@lucene.apache.org > > > > > >

RE: How to search by numbers

2010-04-19 Thread Andy
That works, and now that I re-test my original code, it also works. > Date: Mon, 19 Apr 2010 10:52:45 -0700 > From: iori...@yahoo.com > Subject: Re: How to search by numbers > To: java-user@lucene.apache.org > > > > Hi, I have indexed the following two fields: > >

Re: How to search by numbers

2010-04-19 Thread Ahmet Arslan
> Hi, I have indexed the following two fields: > org_id - NOT_ANALYZEDorg_name - ANALYZED > However when I try to search by org_id, for example, 12345, > I get no hits.  > I am using the StandardAnalyzer to index and search.  > > And I am using:  Query query = > queryParser.parse("org_id:12345")

How to search by numbers

2010-04-19 Thread Andy
Hi, I have indexed the following two fields: org_id - NOT_ANALYZEDorg_name - ANALYZED However when I try to search by org_id, for example, 12345, I get no hits. I am using the StandardAnalyzer to index and search. And I am using: Query query = queryParser.parse("org_id:12345"); Any ideas? Th