Hello,
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.
Now I've seens this article
https://docs.alfresco.com/5.2/concepts/intrans-metadata-configure.html
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
https://docs.alfresco.com/5.0/pra/1/concepts/opencmis-ext-using.html
then I create the query like this:
QueryStatement qs = session.createQueryStatement(queryString);
qs.query(false, operationContext);
I've seens this:
https://docs.alfresco.com/5.2/references/dev-services-search.html
but I don't know how to get the "searchService".
Could anybody write me how to include these parameter or send me a link to a tutorial as I found really little information on how to do this?
Thanks in advance!