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

added special chars test #40

Merged
merged 1 commit into from
Jul 13, 2023
Merged

added special chars test #40

merged 1 commit into from
Jul 13, 2023

Conversation

pandu-k
Copy link
Collaborator

@pandu-k pandu-k commented Jul 13, 2023

Added tests for special chars.

Added file tests/api_tests/test_special_chars_in_fieldnames_and_filters.py

This file contains two test suites:
- TestFiltering which tests filtering on content with special characters
- TestFieldnames which tests fieldnames with special characters.

TestFieldNames tests the following:
- Identifies and tests which special characters can be indexed
- Identifies and tests which special characters work in fieldnames used as searchable attributes
- Identifies and tests which special characters work in fieldnames used as within filters

Testing

  • Confirmed the new tests work against this PR: added special chars test #40
  • Fails on Marqo mainline (due to unfixed edge cases for contextualise filter)

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