AnsweredAssumed Answered

Search for the node just created JAVA

Question asked by alfresco_one on Mar 17, 2017
Latest reply on Mar 23, 2017 by afaust

Hi All,

 

In one requirement I need to query just created document. If I use lucene search then it will take few seconds to do the indexing and may not come in the search result.

 

The query should be executing from some alfresco webscript or a scheduler which runs every 5 seconds.

 

Right now I am doing it by using NodeService and finding child by name which is not the efficient way to do. I am using JAVA API.

 

Is there any other way to do it?

 

Thank you

Outcomes