AnsweredAssumed Answered

Switch between Solr and DB for Query Execution

Question asked by devkinandanchauhan on Oct 23, 2018
Latest reply on Oct 24, 2018 by cesarista

Using Alfresco Community - 5.0.0 version.


Tried below properties in file:


queryConsistency=EVENTUAL then all queries are going to Solr.

queryConsistency=TRANSACTIONAL then all queries are going to DB. 

And Default mode executes all queries from DB first then Solr in case of failure from DB.


Q1: Is there any mode by which I can query Solr first and if there are no results from Solr then query DB in one transaction? 

Q2: Can we execute some queries from Solr and some from DB from JAVA side?