Suggestion: make some more TokenFilters KeywordAttribute aware

2011-06-22 Thread Sujit Pal
Hello, I am currently in need of a LowerCaseFilter and StopFilter that will recognize KeywordAttribute, similar to the way PorterStemFilter currently does (on trunk). Specifically, in case the term is a KeywordAttribute.isKeyword(), it should not lowercase and remove respectively. This can be ach

Re: Suggestion: make some more TokenFilters KeywordAttribute aware

2011-06-22 Thread Simon Willnauer
On Wed, Jun 22, 2011 at 8:53 PM, Sujit Pal wrote: > Hello, > > I am currently in need of a LowerCaseFilter and StopFilter that will > recognize KeywordAttribute, similar to the way PorterStemFilter > currently does (on trunk). Specifically, in case the term is a > KeywordAttribute.isKeyword(), it

Re: Suggestion: make some more TokenFilters KeywordAttribute aware

2011-06-23 Thread Sujit Pal
Thanks Simon, I have opened a JIRA and attached a patch. I have verified that I haven't broken anything, and I have used these patched files to test in my local application and have verified that they work. https://issues.apache.org/jira/browse/LUCENE-3236 -sujit On Thu, 2011-06-23 at 08:21 +02