What is the best way to query if I need only the number of hits? What ist the best was if I need to iterate many Hits (more than 1000)?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Matthias_Hermann
Posted On:   Saturday, February 23, 2008 04:17 PM

I have 2 urgent Lucene Performance Questions.


What is the best way to query if I need only the number of hits and no other data?

Do I have to use the search() method and the "Hits" -Object?

In the sources i found out that the hits-object caches the first 100 hits if i need them or not.





What ist the best was if I need to iterate many Hits (more than 1000).

Can I affect the way of "Lazy Loading" of the Hits?





Thank you for your help.
About | Sitemap | Contact