RE: Problems understanding RangeQuery...

2002-08-12 Thread Karl Øie
thank you, that works! :-) and saves my day! mvh karl øie -Original Message- From: Terry Steichen [mailto:[EMAIL PROTECTED]] Sent: 10. august 2002 18:29 To: Lucene Users List; [EMAIL PROTECTED] Subject: Re: Problems understanding RangeQuery... Hi Karl, I have discovered that with

Re: Problems understanding RangeQuery...

2002-08-10 Thread Terry Steichen
Hi Karl, I have discovered that with range queries you *must* ensure there is a space on either side of the dash. That is, [1971 - 1979] rather than [1971-1979]. If you don't, Lucene will interpret it as [1979 - null]. To illustrate a bit more, here are some result totals that I get on my inde