lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Kiselevski" <ALEX...@Amdocs.com>
Subject RE: Range query problem
Date Thu, 26 Aug 2004 09:57:55 GMT

Thanks, I'll try it

-----Original Message-----
From: Daniel Naber [mailto:daniel.naber@t-online.de]
Sent: Thursday, August 26, 2004 12:59 PM
To: Lucene Users List
Subject: Re: Range query problem


On Thursday 26 August 2004 11:02, Alex Kiselevski wrote:

> I have a strange problem with range query "PERIOD:[1 TO 9]" It works
> only if the second parameter is equals or less than 9 If it's greater
> than 9 , it finds no documents

You have to store your numbers so that they will appear in the right
order
when sorted lexicographically, e.g. save 1 as 01 if you save numbers up
to
99, or as 0001 if you save numbers up to 9999. You also have to use this

format for searching I think.

Regards
 Daniel

--
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message