lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Searching for Empty Field
Date Fri, 15 Jul 2011 06:45:25 GMT

> The crappy thing is that to actually detect if there are any tokens in the field
> you need to make a TokenStream which can be used to read the first token
> and then rewind again.  I'm not sure if there is such a thing in Lucene at the
> moment.  We had to write it ourselves but we were on a considerably older
> version at the time.

CachingTokenFilter plugged over any other TokenStream.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message