Hi all, I have a few queries regarding optimizing lucene for search performance.
1. We index around 50 million text documents with index size greater than 40GB, and hence runtime performance is curcial. Our system has only simple keyword queries. Each search returns an object of type Hits which contains all matching results. Since usually only top-10 results are displayed to the user, it does not make sense to search for all matching hundreds of thousand documents. Is there a way to specify the maximum number of search results that I want to be returned (and possibly have peroformance benefit)? 2. We many a timees use the index to only get a count on number of matching documents. Only the size of answer set of the search query is required, and not the answer set itself. Is there a way to specify this while searching for some possible performance benefit. 3. We have really simple conjunctive keyword queries. No phrases, no fuzzy matching, and no advanced search predicates. Is there a way that we can specify these restrictions on our querying language to have some possible performance benefits. thanks in advance, Nilesh Bansal -- Nilesh Bansal. http://queens.db.toronto.edu/~nilesh/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]