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

Lucene & Special Characters #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

silvanheller
Copy link
Member

@silvanheller silvanheller commented Oct 10, 2022

This PR adds some basics tests demonstrating the current behavior of Lucene retrieval with special characters. The use case would be "-" in an OCR string.

The reason it fails is that cottontail is unable to handle special characters consistently.

There are open questions on if and how cottontail should expect those to be escaped, which i don't have particularly strong opinions on.

I think it would be helpful to have test which demonstrate and verify the kinds of input cottontail can handle, so feel free to change any of the tests.

Additionally, some of the random-generation code did not compile, so i adjusted the method calls to more basic, but equivalent ones.

@ppanopticon
Copy link
Member

There seems to be an issue with this PR...

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

Successfully merging this pull request may close these issues.

2 participants