I have an application with an "inbox" where a user can click a document then enter information.
After that properties and an aspect are assigned to that document and the document is moved. Now this document is assigned to a "container" with other documents and the documents of this container is shown.
Due to the fact that these documents are not in the same folder in Alfresco I have to do a query to get back the documents but the newly assigned document is not yet shown because solr has not indexed it this fast.
There is written "The solr.query.cmis.queryConsistency and solr.query.fts.queryConsistency properties can also be set per query on the SearchParameters and QueryOptions objects." but I'm not sure how to use this. At the moment I create a session like decripted here