lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amaresh Kumar Yadav <Amaresh.Ya...@niit.com>
Subject RE: fastest way to get raw hit count
Date Tue, 30 May 2006 08:44:40 GMT
Hi all,

       when i search for a particular text by lucene search engine. I get
correct number of document for that word but its document name and summary
is return as null. 

display message is :

Document Summary 
null null 
null null 
null null 
null null 

if someone has any idea about this error, please help.

Regards..

Amaresh Yadav

-----Original Message-----
From: zzzzz shalev [mailto:zzzzz_shalev@yahoo.com]
Sent: Monday, May 29, 2006 7:25 PM
To: java-user@lucene.apache.org
Subject: fastest way to get raw hit count


hi all,
   
  is there a faster way to retrieve ONLY the count of results for a query?
   
  lucene ranks (scores) the first batch of docs and sorts them by rank, this
is functionality i dont need in certain queries and i assume, not doing this
can return the count faster then the hits.length()
   
  any ideas???
   
  thanks,,,

		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save
big.

----------------------------------------------------------------------
DISCLAIMER

This email and any files transmitted with it are confidential and are solely for the use of
the individual or entity to which it is addressed. Any use, distribution, copying or disclosure
by any other person is strictly prohibited. If you receive this transmission in error, please
notify the sender by reply email and then destroy the message. Opinions, conclusions and other
information in this message that do not relate to official business of the company shall be
understood to be neither given nor endorsed by NIIT Ltd. or NIIT Technologies Ltd. Any information
contained in this email, when addressed to Clients is subject to the terms and conditions
in governing client contract.



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


Mime
View raw message