Re: Limit number of search results

2006-07-26 Thread Miles Barr
headhunter wrote: I guess the recommended way to implement paging of results is to do your own query-results caching, right? Or does lucene also do this for me? The other guys have covered caching of results in a general way, so I won't go into that. For a search application I've written I

Re: Limit number of search results

2006-07-26 Thread headhunter
ut the second thing: You're right too.. I can indeed do other optimimations which will work just fine ! Thanks for all your help! Johannes -- View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html#a5499379 Sent from t

Re: Limit number of search results

2006-07-26 Thread Chris Hostetter
: I'm still a little worried about doing uneccesarry work - this is totally : different from what I know when working with DBMS. What are you describing as "uneccesarry work" examining every document even though you only care about the first 10, or re-executing the search when you want results 11

Re: Limit number of search results

2006-07-26 Thread headhunter
Hello Daniel, thank you for your answer. I'm still a little worried about doing uneccesarry work - this is totally different from what I know when working with DBMS. Johannes -- View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html#a5498842

Re: Limit number of search results

2006-07-26 Thread Daniel Naber
On Mittwoch 26 Juli 2006 08:24, headhunter wrote: > Is it recommended to do the search again - discarding the uninteresting > values - because lucene caches the results, or just because lucene is so > damn fast? Lucene is fast enough in 99% of the cases. Caching is only done by the operating sys

Re: Limit number of search results

2006-07-25 Thread headhunter
hannes -- View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html#a5498319 Sent from the Lucene - Java Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Limit number of search results

2006-07-25 Thread Daniel Naber
On Mittwoch 26 Juli 2006 07:55, headhunter wrote: > I guess the recommended way to implement paging of results is to do your > own query-results caching, right? http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-81ddcb6ef8573197a77e0c7b56b44cb27e6d7f09 -- http://www.danielnaber.de --

Re: Limit number of search results

2006-07-25 Thread headhunter
Hello Miles, thanks for your answer. I guess the recommended way to implement paging of results is to do your own query-results caching, right? Or does lucene also do this for me? Johannes -- View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html

Re: Limit number of search results

2006-07-25 Thread Miles Barr
headhunter wrote: I am looking for a way to limit the number of search results I retrieve when searching. I am only interested in (let's say) the first ten hits of a query.. maybe I want to look at hits ten..twenty to, but usually only the first results are important. Right now lucene search

Limit number of search results

2006-07-25 Thread headhunter
rough the entire index, returning way more than the desired ten documents. Any way to limit this? Thanks for answers, Johannes -- View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html#a5485639 Sent from the Lucene - Java Users forum at Nabbl