Extending scoring to eliminate sorting on timestamp

2007-01-23 Thread rayvittal-lists
For various reasons, we'd like to eliminate the sort step. Our current query interface takes a start time and end time as an input range: RangeFilter rf = new RangeFilter("day", start, end, true, true); hits = searcher.search(query,rf,new Sort(new SortField[]{

Re: Avoiding sort by date

2006-10-12 Thread rayvittal-lists
Thanks, Erik for the pointer to Solr. Since the document index is added to frequently, creating new IndexSearchers is required anyway. We plan to 'age' out already created IndexSearcher and create new ones every few minutes. Solr's cache regeneration would be useful in this scenario. Does the

Avoiding sort by date

2006-10-12 Thread rayvittal-lists
Hi folks, I am using Lucene 2.0 In our application, I am indexing a stream of documents. Each document is fairly small (< 1 KB), but there can be 10's of millions of documents. Each document has a Timestamp field. Users can enter free-form searches and a date/time range. They are most interest