lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Removing documents from a result
Date Tue, 25 Aug 2009 09:39:15 GMT
On Tue, Aug 25, 2009 at 2:52 PM, Anders Rask <> wrote:

> Hi everyone,
> I have a question regarding the removal of documents from the doc list and
> set.
> I have created a SearchComponent for geo search which uses the new
> NumericRangeQuery
> in Lucene. In the prepare function it creates a query which only returns
> results located in
> a given long/lat box.
> What I would like to do now is to go through these results in the process
> function and remove
> all those that are not located within the circle given by the box.

Essentially you want to filter the results by the NumericRangeQuery that you
have created. You can just specify that query as a filter to
method, no?

Shalin Shekhar Mangar.

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