Sorry, but all you've done is reshuffle your previous statements but without telling us about the actual problem that you are trying to solve!

Repeating myself: You, the application developer can send a hard commit any time you want to assure that documents are searchable. Maybe not every millisecond, but, say, once a second with a soft commit and once a minute for a hard commit, using "commit within" to minimize commits when multiple processes are indexing data.

AFAICT, no application should ever have to care when a document is actually committed - and you have control with commit, anyway.

You the application developer can "tune" the commit interval to balance searchability and overall efficiency. There shouldn't be any problem there, given the variety of commit methods that Solr supports, but you have to make the choices.

So, what's the problem you are trying to solve? You still haven't articulated it.

It sounds as if you are trying to solve a non-problem. But, we can't be sure since you haven't articulated what the actual problem (if any) really is.

-- Jack Krupansky

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

Hi Jack,

 Sorry, I was not clear earlier. What I'm trying to achieve is :

I want to know when a document is committed (hard commit). There can be a
lot of time lapse (1 hour or more) between the time you indexed that
document vs you issue a commit in my case. Now, I exactly want to know when
a document is committed.

In my previous example all 1800 docs are committed at 9:30 AM and I want to
know that time for those 1800 docs. In other batch it'll be some other time.

The use-case is I've have more than 1 process sending the update requests to
Solr and each of those process has a separate commit step and I want to know
the commit time of the documents that were committed when I gave a commit
request.

I hope I'm clear now - please let me know if I'm not.



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

Reply via email to