lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From climbingrose <climbingr...@gmail.com>
Subject Re: Get last updated/committed document
Date Fri, 23 Nov 2007 13:17:10 GMT
Assuming that you have the timestamp field defined:
q=*:*&sort=timestamp desc

On Nov 23, 2007 10:43 PM, Thorsten Scherler
<thorsten.scherler.ext@juntadeandalucia.es> wrote:
> Hi all,
>
> I need to ask solr to return me the id of the last committed document.
>
> Is there a way to archive this via a standard lucene query or do I need
> a custom connector that gives me this information?
>
> TIA for any information
>
> salu2
> --
> Thorsten Scherler                                 thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
>
>



-- 
Regards,

Cuong Hoang

Mime
View raw message