You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by oleg_gnatovskiy <ol...@citysearch.com> on 2008/04/03 19:04:34 UTC
solr commit command questions
Hello. I was wondering what happens when an add command is done without a
commit command. Is there any way to roll back?
--
View this message in context: http://www.nabble.com/solr-commit-command-questions-tp16467824p16467824.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr commit command questions
Posted by Leonardo Santagada <sa...@gmail.com>.
On 04/04/2008, at 20:24, oleg_gnatovskiy wrote:
>
> So, what is the point of the commit?
I always tought about it... this should have been named flush as it is
on xapian... it has nothing to do with databases commits and the data
will end up in the index one way or the other.
--
Leonardo Santagada
Re: solr commit command questions
Posted by Mike Klaas <mi...@gmail.com>.
On 4-Apr-08, at 4:24 PM, oleg_gnatovskiy wrote:
>
> So, what is the point of the commit?
It makes the data you have updated since last commit visible to the
searchers.
-Mike
Re: solr commit command questions
Posted by oleg_gnatovskiy <ol...@citysearch.com>.
So, what is the point of the commit?
oleg_gnatovskiy wrote:
>
> Hello. I was wondering what happens when an add command is done without a
> commit command. Is there any way to roll back?
>
--
View this message in context: http://www.nabble.com/solr-commit-command-questions-tp16467824p16504441.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr commit command questions
Posted by Mike Klaas <mi...@gmail.com>.
On 3-Apr-08, at 10:04 AM, oleg_gnatovskiy wrote:
>
> Hello. I was wondering what happens when an add command is done
> without a
> commit command. Is there any way to roll back?
No, there isn't (unless you've taken a snapshot of the index using
snapshooter).
The main problem is that there is no way to "undelete" a document in
lucene, so this might be impossible until lucene has more transaction
support.
-Mike