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
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
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
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
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
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