cancel
Showing results for 
Search instead for 
Did you mean: 

Update index for full text search

armensanoyan
Node Clone

Hi. I am trying to implement fuzzy search for my nodes with their properties. I use db.index.fulltext.createNodeIndex() to create index and db.index.fulltext.queryNodes() to search. This works fine and I am able to do different kind of searches including fuzzy search. The problem is that my data is dynamic both labels and properties should be updated (created, deleted). It seems like the only way to implement this is to remove and recreate index every time new property created or deleted (or nodes with new label are created or deleted). Is there a better way to implement this or recreating the index is the only option ?

2 REPLIES 2

dana_canzano
Neo4j
Neo4j

@armensanoyan FWIW other customers have reported this, i.e. dynamically add/remove properties from the full text search without a rebuild. Cant commit to if/when it will be addressed but it is something we are aware of

Thanks for answer! So there is no any workaround to avoid recreating indexes ?