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

Special chars in facets/filters #20

Open
opensemanticsearch opened this issue Jan 21, 2018 · 3 comments
Open

Special chars in facets/filters #20

opensemanticsearch opened this issue Jan 21, 2018 · 3 comments
Assignees
Labels

Comments

@opensemanticsearch
Copy link
Owner

opensemanticsearch commented Jan 21, 2018

Facet values / interactive filters with special chars don't work. Test if masked correctly for url and/or Solr query.

@Mandalka
Copy link
Collaborator

Mandalka commented Jan 24, 2018

Seems to work for most values after filtering entities from named entities recognition by machinelearning by strip() in ETL and merging pull requests with code quality improvements and encoding all facet values, which was not important before, since there were only trusted values / tags until implementation of machine learning.

Will check this with some documents where named entities recognition returns weird multi line strings and special chars.

@Mandalka
Copy link
Collaborator

Example substring in not yet working filter: %0A

@Mandalka
Copy link
Collaborator

Added special escaping of tabs (was not in Lucene documentation of escaping special chars) to facet filters, since tabs have to be masked to not be used as char in string instead of term separator of query.

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

No branches or pull requests

2 participants