Thanks Cris
I'm going to see both UpdateLog and RealTimeGetComponent classes,
but I not sure if I could use them because I'm working with apache solr
version 1.4.1, (I know is older).
Anyway I'll tell you my problem. I am developing a custom class extend
from UpdateRequestProcessorFactory. This class must save in database all
modifications from Solr server (Add, Update and Delete actions), but
save in database must happen, always, when commit event was done.
My problem is, clients of solr server do explicit commit, so I receive
first update event and after commit event and in this last I have to
recovered docs from update event, and I wanted to know if it was possible.
At the least, I am going to go another way and I will use a status field
in database. Status field allow save docs in database at update event
and my other process do not use them until I change value of status
field on commit event.
thanks very much
I am learning much Solr in this list
El 21/02/2013 19:34, Chris Hostetter escribió:
: Anybody know how-to get content is put in the index queue but is not
: committed?
i'm guessing you are refering to uncommited documents in the transaction
log? Take a look at the UpdateLog class, and how it's used by the
RealTimeGetComponent.
If you provide more details as to what you end goal is, we might be able
to provide more specific (or alternative) suggestions on how to achieve
your goal...
https://people.apache.org/~hossman/#xyproblem
XY Problem
Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue. Perhaps the best solution doesn't involve "Y" at all?
See Also: http://www.perlmonks.org/index.pl?node_id=542341
-Hoss