lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Problem after combining queries
Date Fri, 30 May 2008 23:58:22 GMT

FYI: your questions sems to be about using the Lucene Java API.  You 
should probably post your question to the java-user@lucene mailing list if 
you have questions about using that API.

Posting actaul code (instead of just a description of what your code is 
suppose to do) can also help people figure out why it's not working as you 

: Hi all,
: I have to implement searching for the following criteria:
: "search all documents with 'status' approved and 'createddate' within the
: given range."
:        where 'status' and 'createddate'  are two fields.
: for this i created a field query for 'status' with occurance 'Must' and a
: range query for 'createddate'.
: Then i combined that two and searched.
: But the search results contains documents which are not approved.[Approved
: documents comes first followed by others !!!]
: If i remove the range query, results will contain only approved documents.
: How to solve this?


View raw message