That’s great! I will look into it. Thanks a lot!
-Siraj
-Original Message-
From: Adrien Grand
Sent: Tuesday, November 5, 2024 11:19 AM
To: java-user@lucene.apache.org
Subject: Re: Indexing multiple numeric ranges
Hello Siraj,
You can do this by creating a Lucene document that has 3
Hello Siraj,
You can do this by creating a Lucene document that has 3
org.apache.lucene.document.IntRange fields in it, one for each of the
ranges that you would like to index. Lucene will then match the document if
any of the ranges matches.
On Tue, Nov 5, 2024 at 5:16 PM Siraj Haider
wrote:
>
Hello there,
I want to index multiple numeric ranges in lucene index and then perform range
searches on it. For examples, I want to index 3 numeric ranges 1-5, 7-10, 13-20
and then run a search with a range (i.e. 2-4) as criteria and have it return
the document if searched range is part of any o