Yes, the document will be searchable after it is committed.

Although you can also do auto commits and commitWithin which do not guarantee immediate visibility of index changes, you can do a hard commit any time you want to make a document searchable.

-- Jack Krupansky

-----Original Message----- From: phanichaitanya
Sent: Thursday, September 12, 2013 12:07 PM
To: solr-user@lucene.apache.org
Subject: Get the commit time of a document in Solr

I'd like to know when a document is committed in Solr vs. the indexed time.

For indexed time, I can add a field as : <field name="indexed_time"
type="date" default="NOW" indexed="true" stored="true" />.

If I have say, 10 million docs indexed and I want to know the actual commit
time of the document which makes it searchable. The problem is to just find
the time when a document can be searchable which will be after it is
committed ? (I don't want to do any soft commits).

If there is a way to know this, please let me know so that I'd like to know
more details based on it.



--
View this message in context: http://lucene.472066.n3.nabble.com/Get-the-commit-time-of-a-document-in-Solr-tp4089624.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to