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

Remove custom KnnVectorFieldExistsQuery #85945

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

jtibshirani
Copy link
Contributor

This query was added to Lucene in 9.1, so we can delete our version in favor of
the Lucene one.

This query was added to Lucene in version 9.1, so we can delete our version in
favor of using the Lucene one.
@jtibshirani jtibshirani added :Search/Search Search-related issues that do not fall into other categories >refactoring v8.2.0 v8.3.0 labels Apr 15, 2022
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Apr 15, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@mayya-sharipova
Copy link
Contributor

mayya-sharipova commented Apr 17, 2022

I've noticed that we've deprecated (in Lucene 9.x) and removed (in main) KnnVectorFieldExistsQuery in favour of FieldExistsQuery. Should we use FieldExistsQuery for this PR as well?

@jtibshirani
Copy link
Contributor Author

@mayya-sharipova Elasticsearch currently uses Lucene 9.1, which does not yet have the new query type and deprecations. My idea was to merge this improvement, then later update all the places we use the deprecated query types when we upgrade to a newer Lucene snapshot.

@mayya-sharipova
Copy link
Contributor

@jtibshirani Thanks for your comment, this plan makes sense to me.

@jtibshirani jtibshirani merged commit 3e8c66a into elastic:master Apr 18, 2022
@jtibshirani jtibshirani deleted the knn-exists-query branch April 18, 2022 18:58
jtibshirani added a commit that referenced this pull request Apr 18, 2022
This query was added to Lucene in version 9.1, so we can delete our version in
favor of using the Lucene one.
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Apr 21, 2022
* master: (104 commits)
  fix: ordering terms aggregation on top metrics null values (elastic#85774)
  Fix up whitespace error introduced in elastic#85948
  More docs re. removing cluster.initial_master_nodes (elastic#85948)
  [Test] Remove API key methods from HLRC (elastic#85802)
  Remove references to bootstrap.system_call_filter (elastic#85964)
  Move docker cgroup override to SystemJvmOptions (elastic#85960)
  Add connection accounting tests (elastic#85966)
  Remove MacOS from platform support testing matrix
  Remove custom KnnVectorFieldExistsQuery (elastic#85945)
  Relax data path deprecations from critical to warn (elastic#85952)
  Remove hppc from some "common" classes (elastic#85957)
  Move docker env var settings handling out of bash (elastic#85913)
  Remove hppc from task manager (elastic#85889)
  [ML] rename trained model allocations to assignments (elastic#85503)
  Remove hppc from multi*shard request and responses (elastic#85888)
  Consolidating logging initialization in cli launcher (elastic#85920)
  Convert license tools to use unified cli entrypoint (elastic#85919)
  Add noop detection to node shutdown actions (elastic#85914)
  Adjust SQL expended test output
  TSDB: Add timestamp provider to AggregationExecutionContext (elastic#85850)
  ...

# Conflicts:
#	server/src/main/java/org/elasticsearch/search/aggregations/AggregationExecutionContext.java
@jtibshirani jtibshirani added :Search Relevance/Vectors Vector search and removed :Search/Search Search-related issues that do not fall into other categories labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants