To me, if the document has not been indexed, search on the repository won't return it. Is there any API to use to check if the document has been indexed after saving it into the repository?
I can definitely search again and again to see if it has been indexed. But this is not a good solution.
By document do you mean full index search? The status information that mark whether a document is full indexed is saved in lucene index,So you can search the node that the document belong to in lucene index and check it's "FTSSTATUS" field
By document do you mean full index search? The status information that mark whether a document is full indexed is saved in lucene index,So you can search the node the document belonged to in lucene index and check it's "FTSSTATUS" field