Thanks Simon, It turned out to be a simple mistake that I made... I was
creating an index with the LengthFilter applied, however reading from
another index directory because of a configuration error on my ide. (The
working directory paths were wrong in Run configs...)
Sorry about wasting your time.
I don't see a reason why this shoul not work though. are you sure you
have indexed all fields with this analyzer or do you iterate over
terms of another field not being analyzed with the an analyzer using
the length filter?!
simon
On Mon, Sep 28, 2009 at 1:06 PM, Erdinc Yilmazel
wrote:
> Sorry i
Sorry if this is a stupid question. I want my index to contain terms that
are at least 4 characters long. So I wrote a simple analyzer and applied
the LengthFilter. When I open the index and get a TermEnum from the
directory, I can still see terms that are less than 4 characters... What do
you thi