lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Sevi" <>
Subject Filtering a SpanQuery
Date Tue, 06 May 2008 08:15:10 GMT

I am looking for a way to filter a SpanQuery according to some other query
(on another field from the one used for the SpanQuery). I need to get access
to the spans themselves of course.
 I don't care about the scoring of the filter results and just need the
positions of hits found in the documents that matches the filter.

I tried looking through the archives and found some reference to a
SpanQueryFilter patch, however I don't see how it can help me achieve what I
want to do. This class receives only one query parameter (which I guess is
the actual query) and not a query and a filter for example.

Any help about how I can achieve this will be appreciated.


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