You'll be able to find them only after a commit.

One way to do this is index a timestamp with every document, and find the latest ones using that field. There's an example of an automatic timestamp field in the example schema.

        Erik


On Jan 21, 2010, at 4:16 AM, Sandeep Tagore wrote:


Hi All,
Is it possible to find the newly added documents in Solr(before or after
commit)?

To make it clear... Lets assume that there are 1000 docs in the index and we add new docs with id's ab12, bc34, cd56 to the index. Is there a way to get
the list of these new docs with any query?

Thanks in advance.

Regards,
Sandeep
--
View this message in context: 
http://old.nabble.com/Find-newly-added-documents-tp27254813p27254813.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to