lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Sokolov (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5620) LowerCaseFilter.preserveOriginal
Date Sat, 19 Apr 2014 18:14:14 GMT


Mike Sokolov commented on LUCENE-5620:

Maybe I am operating based on a misunderstanding, but isn't it the case that each field/term/position/document
combination adds a posting to the index?  I do like the idea of a generic "preserve original"
filter that can work with any filter/combination of filters, since I agree it's silly to duplicate
this logic for every filter.  How would you see that working?

> LowerCaseFilter.preserveOriginal
> --------------------------------
>                 Key: LUCENE-5620
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mike Sokolov
>         Attachments: LUCENE-5620.patch
> Following closely the model of LUCENE-5437 (which worked on ASCIIFoldingFilter), this
patch adds the ability to preserve the original token to LowerCaseFilter.  This is useful
if you want an all-lowercase search term to match without regard to case, while search terms
with uppercase letters match in a case-sensitive manner. 

This message was sent by Atlassian JIRA

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

View raw message