lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: Problem in lucene query
Date Thu, 10 Sep 2009 13:18:45 GMT
Hi Vibhuti,
Not in sync with your query, but I'd advice you to graduate you to a rather
recent lucene release. Something like 2.4.1 or atleast a 2.3.1 [Considering
its already time for 2.9].

--
Anshum Gupta
Naukri Labs!
http://ai-cafe.blogspot.com

The facts expressed here belong to everybody, the opinions to me. The
distinction is yours to draw............


On Thu, Sep 10, 2009 at 4:17 PM, vibhuti <vibhuti.gupta@thepsi.com> wrote:

> Hello
>
>
>
> I am new to Lucene and facing a problem while performing searches. I am
> using lucene 2.2.0.
>
> My application indexes documents on "keyword" field which contains integer
> values. If the value is negative the query does not return correct results.
>
>
>
> Following is my lucene query:
>
>
>
> (keyword: \-1)
>
>
>
> I also tried:
>
> (keyword: "-1")
>
>
>
>
>
> But none of them returns correct results. It seems that Lucene ignores '-'.
> My purpose is to search documents with index value "-1".
>
>
>
> Any ideas??
>
>
>
> Thanks
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message