ezfind icon indicating copy to clipboard operation
ezfind copied to clipboard

Re-index subtree on move

Open peterkeung opened this issue 3 years ago • 3 comments

Currently, eZ Find does not re-index a node's subtree when the node is moved. This PR uses the same strategy that we use when the node's visibility is toggled, which is to defer the re-index to the ezfindindexsubtree cronjob.

peterkeung avatar Nov 12 '21 22:11 peterkeung

should this be made optional via an ini setting? normally a content in Solr does not carry info about all its grandparents... or does it ?

gggeek avatar Nov 13 '21 07:11 gggeek

@gggeek The node path is in the index, right? So solr searches using the node path will return funny results.

+1

pkamps avatar Nov 13 '21 08:11 pkamps

Correct, there is at least path and visibility information to update, so I don't think this should be optional.

peterkeung avatar Nov 13 '21 15:11 peterkeung