12-11-2019 03:42 AM
We know that due to the eventual consistency of Solr indexing in Alfresco,there is a lag(15s maximum) before a node can be searched after it was created.
Dose Alfresco Search engine have the same problem ?
12-11-2019 04:20 AM
By default it's 10 seconds, but it's the same thing:
12-11-2019 07:30 AM
And it is not a "problem", it is a design decision to have out-of-transaction indexing.
12-11-2019 07:35 PM
Thank you ,I konw it is designed that way.But we have a requirement that a node should be searchable in time after it is created/updated .We can't use transactional metadata query ,because it has a bad performence when we have tens of thousands nodes.
12-11-2019 07:47 PM
Thank you ,We have already tried to modify cron expression in solrcore.properties . and now we change alfresco.metadata.tracker.cron to 0/5 ** ** ?*. But it still dose not satisfy our requirments ,we need it to be searchable after being updated. We can't reduce 0/5 ** ** ?* any more (we have tried to change it to 0/2 ** ** ?*, but then solr didn't work.I guess for 2 sec solr dosen't have enough time to open a new searcher).
Explore our Alfresco products with the links below. Use labels to filter content by product module.