Thread.sleep(1000);
}
Hope it helps,
Tomer
-Original Message-
From: Jorge Moreira [mailto:j.moreira...@gmail.com]
Sent: Thursday, August 28, 2014 11:50 AM
To: solr-user@lucene.apache.org
Subject: Indexing documents with ContentStreamUpdateRequest (SolrJ)
asynchronously
I am using SolrJ API
I am using SolrJ API 4.8 to index rich documents to solr. But i want
to index these documents asynchronously. The function that I made send
documents synchronously but i don't know how to change it to make it
asynchronously. Any idea?
Function:
public Boolean indexDocument(HttpSolrServer server,