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

single knn-field: test_search.py passes #526

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

pandu-k
Copy link
Collaborator

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

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Have unit tests been run against this PR? (Has there also been any additional testing?)

  • Related Python client changes (link commit/PR here)

  • Related documentation changes (link commit/PR here)

  • Other information:

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

@pandu-k pandu-k changed the title made test_search pass single knn-field: test_search.py passes Jul 3, 2023
@vicilliar vicilliar merged commit c6c70a5 into joshua/single-knn-field Jul 4, 2023
vicilliar added a commit that referenced this pull request Jul 16, 2023
* using a single kNN opensearch field

* made end-to-end case work

* added debug statements for OpenSearch requests

* Added brackets around combined opensearch filter

* fixed bug with no searchable attributes

* changed marqo version

* single knn-field: test_search.py passes (#526)

* made test_search pass

* Updated CUDA version to match mainline

* removed debug message in OS

* fixed add docs, backend, create index unit tests

* pagination error handling

* removed debug message

* fixed bulk search and search tests

* fixed broken tests

* fixed index meta cache tests, add knn field validation

* empty results for empty searchable attr lexical

* finished pagination tests

* refactored filtering, get_model_properties, index creation tests

* fixed generic model error tests

* added knn field tests

* updated filtering tests

* added changes to contextualise_user_filter

* filtering unit tests pass, double backslash escape fixed

* added backslash escaping to Lucene sanitise function

fixed tests

* fixed contextualise edge cases with field at start of filter

* fixed contextualise edge cases with field at start of filter

* more edge cases for filtering

* edge case fixed in contextualise, also added draft regex solution

* fixed wrong string length skip

* removed unused code, updated name of contextualise

* fixed bug when content has field name by adding colon req

* gitignore vscode directory

* removed vscode settings json

* improved function docstrings

---------

Co-authored-by: Joshua Kim <joshua@marqo.ai>
wanliAlex pushed a commit that referenced this pull request Jul 17, 2023
* using a single kNN opensearch field

* made end-to-end case work

* added debug statements for OpenSearch requests

* Added brackets around combined opensearch filter

* fixed bug with no searchable attributes

* changed marqo version

* single knn-field: test_search.py passes (#526)

* made test_search pass

* Updated CUDA version to match mainline

* removed debug message in OS

* fixed add docs, backend, create index unit tests

* pagination error handling

* removed debug message

* fixed bulk search and search tests

* fixed broken tests

* fixed index meta cache tests, add knn field validation

* empty results for empty searchable attr lexical

* finished pagination tests

* refactored filtering, get_model_properties, index creation tests

* fixed generic model error tests

* Set index default replicas=0, shards=1

* added knn field tests

* updated filtering tests

* added changes to contextualise_user_filter

* filtering unit tests pass, double backslash escape fixed

* added backslash escaping to Lucene sanitise function

fixed tests

* fixed contextualise edge cases with field at start of filter

* fixed contextualise edge cases with field at start of filter

* more edge cases for filtering

* testing default shards=2, replicas=0

* Removed ordering as requirement for test_lexical_search.py::TestLexicalSearch::test_lexical_search_double_quotes

* edge case fixed in contextualise, also added draft regex solution

* fixed wrong string length skip

* removed unused code, updated name of contextualise

* fixed bug when content has field name by adding colon req

* gitignore vscode directory

* removed vscode settings json

* set default shards=3

* Update settings_object.py

---------

Co-authored-by: Joshua Kim <joshua@marqo.ai>
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