cancel
Showing results for 
Search instead for 
Did you mean: 

Best method with java code to make sure that the newly created nodes have been indexed

AlfrescoZZZ
Star Collaborator
Star Collaborator

I find myself in the known situation of invoking via rest api an action that creates some nodes that take a few seconds to be indexed and retrievable by the next lucene query before exiting.

Excluding the solution via canned query, at the java code level what do you think is the best method to ensure that the newly created nodes have been indexed and retrievable by the lucene query before returning the result ?

Should I do a check on the presence or absence of the indexing aspect on the node ? Or do you have any advice for me ?

0 REPLIES 0