Can i check/know if an Update of a Document has been indexed by SOLR ?

cancel
Showing results for 
Search instead for 
Did you mean: 
Renestox2
Active Member

Can i check/know if an Update of a Document has been indexed by SOLR ?

Hello,

im using the default Alfresco - Solr architecture, where Solr polls changes async from Alfresco and updates its index.

Now i need to know when a Document has been fully indexed.

Is there a way i can accomplish this in Alfresco ?

Can Alfresco send index changes snyc to Solr ?

Or can i check if Solr has polled the changes for one Document ? (I have multiple instaces of Solr running).

Im using alfresco-search-services:1.3.0.1 and alfresco-content-repository-community:6.1.2-ga.

 

2 Replies
angelborroy
Alfresco Employee

Re: Can i check/know if an Update of a Document has been indexed by SOLR ?

SOLR Tracking is always asynchronous, you cannot switch to synchronous mode.

You can perform a query to SOLR in order to verify if a document has been indexed.

Hyland Developer Evangelist
Renestox2
Active Member

Re: Can i check/know if an Update of a Document has been indexed by SOLR ?


@angelborroy wrote:

SOLR Tracking is always asynchronous, you cannot switch to synchronous mode.

You can perform a query to SOLR in order to verify if a document has been indexed.


Thanks for your Answer.

That SOLR only works asynchronous is what i thought.

I can perform a query for new documents to check if they are indexed, but i also need to do it for updates on the document. But i guess there is no way to accomplish this with default Alfresco / SOLR behavior.