Re: n-gram indexing

2005-07-24 Thread Sebastian Marius Kirsch
Hi Rajeev, I wrote a filter for generating n-grams a while back; I intended to use it for statistics, but I guess you can also use it for search. I also thought of the "boosting effect" you describe when I implemented it, though I never actually tried whether it works that way. It's in the Lucene

Re: Problem with deleting and optimizing index

2005-07-24 Thread Lokesh Bajaj
Actually, you should probably not let your index grow beyond one-third the size of your disk. a] You start of with your original index b] During optimize, Lucene will initially write out files in non-compound file format. c] Lucene will than combine the non-compound file format into the compoun

RE: n-gram indexing

2005-07-24 Thread Dave Kor
Quoting Rajesh Munavalli <[EMAIL PROTECTED]>: > Let me explain a scenario where I would need to add the n-grams at > indexing time. I see your point and I do agree. As it stands, Lucene does not innately support n-gram indexing. However it is not impossible to adapt Lucene to serve as an n-gram i

RE: Implementing paging functionality in lucene

2005-07-24 Thread Tony Schwartz
Don't do that. Don't use a filter for paging. Just use the Hits object and get from it only the records applicable for that page. Tony Schwartz [EMAIL PROTECTED] "We're going to need a lot more cowbell." -Original Message- From: Harini Raghavan [mailto:[EMAIL PROTECTED] Sent: Sunday

Implementing paging functionality in lucene

2005-07-24 Thread Harini Raghavan
Hi All, I am trying to add paging functionality while using lucene search. I have created a PageFilter what takes in the current page num and the number of records as input and invoking the IndexSearcher passing the a Boolean Query object and the PageFilter. The search returns around 1000 records

Re: Index locked exception while updating index

2005-07-24 Thread Harini Raghavan
Hi All, I am trying to add paging functionality while using lucene search. I have created a PageFilter what takes in the current page num and the number of records as input and invoking the IndexSearcher passing the a Boolean Query object and the PageFilter. The search returns around 1000 reco