Alfresco Search engine indexing lag

cancel
Showing results for 
Search instead for 
Did you mean: 
kaynezhang
Advanced

Alfresco Search engine indexing lag

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 ?

4 Replies
angelborroy
Alfresco Employee

Re: Alfresco Search engine indexing lag

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/reso...

Hyland Developer Evangelist
afaust
Master

Re: Alfresco Search engine indexing lag

And it is not a "problem", it is a design decision to have out-of-transaction indexing.

kaynezhang
Advanced

Re: Alfresco Search engine indexing lag

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.

kaynezhang
Advanced

Re: Alfresco Search engine indexing lag

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).