lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pleasant, Tracy" <tracy.pleas...@lmco.com>
Subject RE: Returning one result
Date Thu, 04 Dec 2003 22:01:30 GMT
Ok I realized teh Simple Analyzer does not index numbers, so I switched
back to Standard.

-----Original Message-----
From: Pleasant, Tracy 
Sent: Thursday, December 04, 2003 4:53 PM
To: Lucene Users List
Subject: Returning one result


 I am indexing a group of items and one field , id, is unique.  When the
user clicks on a results I want just that one result to show.  

 I index and search using SimpleAnalyzer.

 
 Query query_es = QueryParser.parse(query, "id", new SimpleAnalyzer());
  
 It should return only one result but returns 200.
  
 
 
 

---------------------------------------------------------------------
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