xabbu42 opened a new pull request, #16489:
URL: https://github.com/apache/lucene/pull/16489

   ### Description
   
   Add an ignoreKeywords flag to PatternReplaceFilter similar to 
WordDelimiterGraphFilter. We use PatternReplaceFilter for some custom spelling 
normalization and minimal stemming and would like to use the existing mechanism 
to protect keywords.
   
   ### Disclaimers
   
   This pull request was created using aider and Claude Sonnet 4.
   
   We don't use Lucene directly (I plan to do a follow up pull request for 
elasticsearch) so I could not yet check this changes besides the generated new 
tests. Please tell me if anything is missing.
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to