Lucene 1.4.3 Search: How to apply the queryfilter to look at only the documents that were retireved by the original query
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Venkatesh_Govindarajan
Posted On:   Tuesday, December 13, 2005 08:16 PM

How to apply the queryfilter to look at only the documents that were retireved by the original query? Scenario: Return all books published in the year 2004 having a title of "Lucene". Lucene Index has two fields. Field 1: Year Published (Type: Keyword) Field 2: Title(Type: Unstored) Even if you use Query filter, Lucene internally gets all matching documents for the year 2004 and the documents matching the title "lucene" and intersects the result. Is there any way for the filter query to look only at the documents returned from the original query? Thank you for your help.    More>>


How to apply the queryfilter to look at only the documents that were retireved by the original query?
Scenario: Return all books published in the year 2004 having a title of "Lucene".


Lucene Index has two fields. Field 1: Year Published (Type: Keyword) Field 2: Title(Type: Unstored)


Even if you use Query filter, Lucene internally gets all matching documents for the year 2004 and the documents matching the title "lucene" and intersects the result.


Is there any way for the filter query to look only at the documents returned from the original query?
Thank you for your help.

   <<Less
About | Sitemap | Contact