lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik N S" <kart...@controlnet.co.in>
Subject HOWTO USE SORT on QUERY PARSER :(
Date Tue, 13 Jul 2004 10:01:18 GMT
Hey

  Guys

Apologies....

   Can somebody please explain to me with a simple SRC example of  how to
use SORT on Query parser [1.4 lucene]
  [ I am confused with the code snippet on the CVS Test Case]



with regards
Karthik

-----Original Message-----
From: Grant Ingersoll [mailto:gsingers@syr.edu]
Sent: Tuesday, July 13, 2004 2:29 AM
To: lucene-user@jakarta.apache.org
Subject: Re: Could search results give an idea of which field matched


See the explain functionality in the Javadocs and previous threads.  You can
ask Lucene to explain why it got the results it did for a give hit.

>>> saugustine@interwoven.com 07/12/04 04:52PM >>>
I search the index on multiple fields. Could the search results also
tell me which field matched so that the document was selected? From what
I can tell, only the document number and a score are returned, is there
a way to also find out what was the field(s) of the document matched the
query?



Sildy





---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message