solr icon indicating copy to clipboard operation
solr copied to clipboard

SOLR-16250 Fix LIKE for string fields and multi terms

Open kiranchitturi opened this issue 2 years ago • 0 comments

https://issues.apache.org/jira/browse/SOLR-16250

Description

Solr SQL is not translating LIKE terms properly for string fields with multiple terms

Solution

If the field type is string, do not use complex phrase parser and do not decode space

Tests

Update existing unit test to verify

Checklist

Please review the following and check all that apply:

  • [x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • [x] I have created a Jira issue and added the issue ID to my pull request title.
  • [x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • [x] I have developed this patch against the main branch.
  • [x] I have run ./gradlew check.
  • [x] I have added tests for my changes.
  • [ ] I have added documentation for the Reference Guide

kiranchitturi avatar Jun 14 '22 21:06 kiranchitturi