As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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 ?
By default it's 10 seconds, but it's the same thing:
https://github.com/Alfresco/SearchServices/blob/master/search-services/alfresco-search/src/main/resources/solr/instance/templates/rerank/conf/solrcore.properties#L50
And it is not a "problem", it is a design decision to have out-of-transaction indexing.
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.
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).