haystack
haystack copied to clipboard
feat: Allow exact list matching with field in Elasticsearch filtering
Rewrite of https://github.com/deepset-ai/haystack/pull/2675#issuecomment-1195487118
Related Issues
- fixes https://github.com/deepset-ai/haystack/issues/2672
Proposed Changes:
Will match a field that contains all values in the list, no more, no less. Order does not matter.
How did you test it?
Unit test
Notes for the reviewer
Checklist
- [ ] I have read the contributors guidelines and the code of conduct
- [ ] I have updated the related issue with new insights and changes
- [x] I added tests that demonstrate the correct behavior of the change
- [x] I've used the conventional commit convention for my PR title
- [ ] I documented my code
- [x] I ran pre-commit hooks and fixed any issue
Hey @masci, everything seems to be here