Re: Finding the last committed record in SOLR 4

2012-12-21 Thread Lance Norskog
The only sure way to get the last searchable document is to use a timestamp or sequence number in the document. I do not think that using a timestamp with default=NOW will give a unique timestamp, so you need your own sequence number. On 12/19/2012 10:17 PM, Joe wrote: I'm using SOLR 4 for an

Re: Finding the last committed record in SOLR 4

2012-12-20 Thread Upayavira
I cannot see how SolrJ and the admin UI would return different results. Could you run exactly the same query on both and show what you get here? Upayavira On Thu, Dec 20, 2012, at 06:17 AM, Joe wrote: > I'm using SOLR 4 for an application, where I need to search the index > soon > after inserting