Re: removing a term from a lucene index

2006-09-13 Thread Andrzej Bialecki
Chris Hostetter wrote: : > undesired words as a sort of stoplist. But surely there's a better way : > to do it (the inverted index structure seems like this should be : > natural). Any pointers would be most helpful. I've never given this much thought, but i know that merging indexes can be do

Re: removing a term from a lucene index

2006-09-13 Thread Chris Hostetter
: > undesired words as a sort of stoplist. But surely there's a better way : > to do it (the inverted index structure seems like this should be : > natural). Any pointers would be most helpful. I've never given this much thought, but i know that merging indexes can be done with IndexReaders, an

Re: removing a term from a lucene index

2006-09-13 Thread Paul Elschot
On Wednesday 13 September 2006 15:41, Miles Efron wrote: > This question surely shows how new I am to Lucene... but I'm interested > in removing terms from a lucene index. In particular, I'd like to be > able to delete all terms that appear in fewer than x documents (say > x=3). This is in eff

Re: removing a term from a lucene index

2006-09-13 Thread Tom Bouctou
Miles, I understand you are trying to solve your problem by changing the index contents (removing documents). Would it be possible to workaround it and to achieve this during search, by only returning the relevant documents and ignore the rests? Just my 2 cents... Tom Miles Efron wrote: