-
Notifications
You must be signed in to change notification settings - Fork 7
DOCSP-49759: Vector search index #33
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -203,6 +203,7 @@ This section shows how to create the following advanced | |||||
index types: | ||||||
|
||||||
- :ref:`django-indexes-atlas-search` | ||||||
- :ref:`django-indexes-vector-search` | ||||||
- :ref:`django-indexes-partial` | ||||||
- :ref:`django-indexes-unique` | ||||||
|
||||||
|
@@ -240,6 +241,49 @@ an Atlas Search index named ``"title_search_idx"`` on the ``title`` field: | |||||
- `SearchIndex <{+api+}ref/models/indexes/#searchindex>`__ class in the | ||||||
{+django-odm+} API documentation. | ||||||
|
||||||
.. _django-indexes-vector-search: | ||||||
|
||||||
Vector Search Indexes | ||||||
|
Vector Search Indexes | |
Atlas Vector Search Indexes |
S: I've gotten guidance from PMs to include the full product name. Also, to be consistent with the above Atlas Search section.
Outdated
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.
Vector Search indexes specify the behavior of an Atlas Vector Search, which allows | |
Atlas Vector Search indexes allow |
S: full product name and edit bc it seems duplicative to say AVS twice
Outdated
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.
To create a Vector Search index, assign the ``indexes`` option in your model's | |
To create an Atlas Vector Search index, assign the ``indexes`` option in your model's |
S: I would lowercase "vector search" or include full product name
Outdated
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.
- ``name``: *(Optional)* The name of your Vector Search index. If you do not | |
- ``name``: *(Optional)* The name of your Atlas Vector Search index. If you do not |
S: lowercase or full product name
Outdated
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.
"and an array size" -> "with a size"
(It would be really helpful to get intersphinx working to https://django-mongodb-backend.readthedocs.io/ so you can have size link to ArrayField.size) If you need help, let me know.
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.
Unfortunately additional changes to the intersphinx links are stalled, I can't configure it myself - the docs platform team does that - and they have some higher priority work at the moment. I added a link to the API docs using the source constant instead
Outdated
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.
a Vector Search index named ``"vector_search_idx"`` on the ``ratings`` vector field | |
an Atlas Vector Search index named ``"vector_search_idx"`` on the ``ratings`` vector field |
Outdated
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.
To learn more about Vector Search queries and indexes, see the following resources: | |
To learn more about Atlas Vector Search queries and indexes, see the following resources: |
Uh oh!
There was an error while loading. Please reload this page.