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

Strange results when combining German2 snowball with ngram and highlighting matches. #9

Open
bogn opened this issue Apr 18, 2013 · 0 comments

Comments

@bogn
Copy link

bogn commented Apr 18, 2013

When using the combo analyzer with the sub analyzers German2 snowball and ngram I get wrong highlights at positions where the queried word didn't occur in the input text. See gist 5411318. Changing order of the sub_analyzers doesn't change anything. default_index and default_search are different because ngram shouldn't be used for search analysis. I don't have that much experience in the field of full-text search but not using combo analyzer and using a fillter array

[ "ngram_filter", "germansnow" ]

where appropriate yields correct results for me. But as far as I understand it now is not the same as using the combo analyzer.

As far as my requirements go, I started here: http://jprante.github.io/lessons/2012/05/16/multilingual-analysis-for-title-search.html because we have multilingual titles as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant