Re: Get the commit time of a document in Solr

2013-09-13 Thread phanichaitanya
Thanks Otis. I'll look into it if I can use it to solve my problem. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/Get-the-commit-time-of-a-document-in-Solr-tp4089624p4089949.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Get the commit time of a document in Solr

2013-09-13 Thread phanichaitanya
Thanks Jack, Shawn and Raymond. Shawn - I've to do it with every commit. So I guess apparently there is no way apart from writing custom plugins to Solr. I'll look into the pointers you suggested. Regards, Phani. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.

Re: Get the commit time of a document in Solr

2013-09-13 Thread phanichaitanya
Apologies again. But here is another try : I want to make sure that documents that are indexed are committed in say an hour. I agree that if you pass commitWithIn params and the like will make sure of that based on the time configurations we set. But, I want to make sure that the document is reall

Re: Get the commit time of a document in Solr

2013-09-12 Thread Otis Gospodnetic
Solr admin exposes time of last commit. You can use that. Otis Solr & ElasticSearch Support http://sematext.com/ On Sep 12, 2013 3:22 PM, "phanichaitanya" wrote: > Apologies again. But here is another try : > > I want to make sure that documents that are indexed are committed in say an > hour. I

Re: Get the commit time of a document in Solr

2013-09-12 Thread Jack Krupansky
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--

Re: Get the commit time of a document in Solr

2013-09-12 Thread Shawn Heisey
On 9/12/2013 11:04 AM, phanichaitanya wrote: > So, now I want to know when that document becomes searchable or when it is > committed. I've the following scenario: > > 1) Indexing starts at say 9:00 AM - with the above additions to the > schema.xml I'll know the indexed time of each document I sen

Re: Get the commit time of a document in Solr

2013-09-12 Thread phanichaitanya
So, now I want to know when that document becomes searchable or when it is committed. I've the following scenario: 1) Indexing starts at say 9:00 AM - with the above additions to the schema.xml I'll know the indexed time of each document I send to Solr via the update handler. Say 9:01, 9:02 and so

Re: Get the commit time of a document in Solr

2013-09-12 Thread Shawn Heisey
On 9/12/2013 12:55 PM, phanichaitanya wrote: > I want to make sure that documents that are indexed are committed in say an > hour. I agree that if you pass commitWithIn params and the like will make > sure of that based on the time configurations we set. But, I want to make > sure that the document

Re: Get the commit time of a document in Solr

2013-09-12 Thread Raymond Wiker
On Sep 12, 2013, at 20:55 , phanichaitanya wrote: > Apologies again. But here is another try : > > I want to make sure that documents that are indexed are committed in say an > hour. I agree that if you pass commitWithIn params and the like will make > sure of that based on the time configuration

Re: Get the commit time of a document in Solr

2013-09-12 Thread Jack Krupansky
anichaitanya 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

Re: Get the commit time of a document in Solr

2013-09-12 Thread phanichaitanya
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 d

Re: Get the commit time of a document in Solr

2013-09-12 Thread Jack Krupansky
ansky -Original Message- From: phanichaitanya Sent: Thursday, September 12, 2013 1:04 PM To: solr-user@lucene.apache.org Subject: Re: Get the commit time of a document in Solr So, now I want to know when that document becomes searchable or when it is committed. I've the following sc