lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Looking for a code pattern to pass stop words as an attribute
Date Tue, 21 Aug 2012 20:34:20 GMT
Seeking advice.

I have an application where I need to know which tokens are stop
words. Most analyzers construct the token stream in a way that those
tokens are filtered out -- this isn't what I need, I want them in, but
marked somehow. The question is how to do it nicely and in a simple
way, possibly reusing existing token filters? I had a few ideas but
they all seem awkward -- let me know if I'm missing something obvious.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message