-
Notifications
You must be signed in to change notification settings - Fork 770
SOLR-17927: Fix naming in vector search support #3789
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rename M and efConstruction with HNSW prefix so that they are a bit more 'readable' (not a huge fan of acronyms but in the industry nowadays HNSW is decently accepted
After that we can merge
solr/core/src/java/org/apache/solr/schema/DenseVectorField.java
Outdated
Show resolved
Hide resolved
solr/core/src/java/org/apache/solr/schema/DenseVectorField.java
Outdated
Show resolved
Hide resolved
| Attention: | ||
|
|
||
| * The `llm` module has been renamed to `language-models`. | ||
| * The HNSW parameters `hnswMaxConnections` and `hnswBeamWidth` have been renamed to `hnswM` and `hnswEfConstruction`, respectively, so they must be updated accordingly in the schema.xml file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curiosity only, I wonder if unused attributes are permitted in the schema e.g. might one go
- from
hnswMaxConnections="10" hnswBeamWidth="40"on Solr9 - to
hnswMaxConnections="10" hnswBeamWidth="40" hnswM="10" hnswEfConstruction="40"on Solr9 - to
hnswMaxConnections="10" hnswBeamWidth="40" hnswM="10" hnswEfConstruction="40"on Solr10 - to
hnswM="10" hnswEfConstruction="40"on Solr10
conceptually?
https://issues.apache.org/jira/browse/SOLR-17927
Description
I avoided adding comments with references to Lucene, since we plan to change the names there as well.