RE: Retrieve last indexed documents...

2009-02-20 Thread Pierre-Yves LANDRON
OK, thanks, That's what i've done ; I've kind of hoped that there was a nicer way to go, but after all, it works that way anyway... Cheers, P Landron > Date: Fri, 20 Feb 2009 06:05:24 -0800 > From: otis_gospodne...@yahoo.com > Subject: Re: Retrieve last indexed docu

Re: Retrieve last indexed documents...

2009-02-20 Thread Otis Gospodnetic
Pierre, This is the issue to watch: https://issues.apache.org/jira/browse/SOLR-1023 I don't think there is a super nice way to do that currently. You could use the match-all query (*:*) and sort by timestamp desc, and use start=0&rows=1. Using a raw timestamp that includes milliseconds is no