How to declare a fulltext index on multiple properties? #745
-
Even after reading through the documentation very carefully and looking at #67, I still don't understand how to define a fulltext index on one or more properties. When I tried to set from neomodel import ArrayProperty, StringProperty, StructuredNode
class Entity(StructuredNode):
__index__ = "entity_fulltex_index"
name = StringProperty(index=True)
synonyms = ArrayProperty(StringProperty(), index=True) Thank you for your help. I would definitely appreciate a dedicated section in the documentation on indeces. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry, I didn't check this section for some time now since it was inactive. And I also didn't get any notifications, so I completely missed your question ! Full-text indexes creation is not supported ; but it is something we can add. That, and Vector indexes. Stay tuned, I'm thinking I could include it in release 5.3.2 or 5.3.3 ! |
Beta Was this translation helpful? Give feedback.
-
If you check the last PR into rc/5.3.2, I added fulltext index support, but only on single-property for now. Do you have suggestions about how you would like to declare it on the StructuredNode side for multi-properties ? |
Beta Was this translation helpful? Give feedback.
If you check the last PR into rc/5.3.2, I added fulltext index support, but only on single-property for now.
I created a specific section in the documentation for indices and constraints (called "Schema management").
Do you have suggestions about how you would like to declare it on the StructuredNode side for multi-properties ?