Skip to content

How to add the vector to a field with vector_index #823

Answered by mariusconjeaud
ujjwalm29 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Firstly, I added a section specifically about Schema in the documentation. There was an issue in the docs generation at release time though but it was fixed some time back.
Have a look here : https://neomodel.readthedocs.io/en/latest/schema_management.html

Then, about "adding a vector to the index", I am not 100% sure I got your question right. If I read correctly, you are interested in knowing how actual data fields are added into the index inside of Neo4j ? This happens automatically once the property is saved to the database and is handled by Neo4j itself.
So that when you do : myNode.vector = [1.0, 1.0] and then myNode.save(), the index inside of Neo4j will be updated since the…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mariusconjeaud
Comment options

@ujjwalm29
Comment options

@mariusconjeaud
Comment options

@ujjwalm29
Comment options

@mariusconjeaud
Comment options

Answer selected by mariusconjeaud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants