Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4701 - unable to search unicode strings in elasticsearch #3882

Merged
merged 2 commits into from Mar 28, 2014
Merged

Fixes #4701 - unable to search unicode strings in elasticsearch #3882

merged 2 commits into from Mar 28, 2014

Conversation

tstrachota
Copy link
Member

Asciifolding filter maps all unicode characters to their ascii equivalents. The mapping is destructive and prevents the original forms from being looked up. This behaviour is going to be fixed in elasticsearch 1.1 with option 'preserve_original'. I'm disabling the filter until the new elasticsearch is out and we can migrate to it.

See docs for more details:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-asciifolding-tokenfilter.html

@jlsherrill
Copy link
Member

[test]

@jlsherrill
Copy link
Member

you'll likely need to delete the test/fixtures/vcr_cassettes/elasticsearch/package.yml file and then re-run the /test/glue/elasticsearch/package_test.rb test with MODE=all

Tomas Strachota added 2 commits March 26, 2014 14:55
Asciifolding filter maps all unicode characters to their ascii equivalents. The mapping is destructive and prevents the original forms from being looked up. This behaviour is going to be fixed in elasticsearch 1.1 with option 'preserve_original'. I'm disabling the filter until the new elasticsearch is out and we can migrate to it.

See docs for more details:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-asciifolding-tokenfilter.html
@tstrachota
Copy link
Member Author

[test]

@jlsherrill
Copy link
Member

ACK thanks @tstrachota !

tstrachota pushed a commit that referenced this pull request Mar 28, 2014
Fixes #4701 - unable to search unicode strings in elasticsearch
@tstrachota tstrachota merged commit 728c01a into Katello:master Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants