[opencms-dev] How to make an ordered by date search?
David Pérez Camarena
dperez at aubay.es
Tue Apr 24 17:00:58 CEST 2007
I did it! :-[
Just using this line
cmsSearch.setSortOrder(CmsSearchParameters.SORT_DATE_LASTMODIFIED);
Best regards.
David Pérez Camarena escribió:
> I need for my web site a news search engine, using Lucene, but I need
> the results to be ordered by release date. Has anyone got a code
> example about how to make it?
>
> Thanks and greetings.
> --
>
> David PÉREZ CAMARENA
>
> Programador
>
> *@ubay *
>
> *Delegación en Andalucía*
>
> Parque Tecnológico de Andalucía
>
> Avda. Juan López Peñalver, 21
>
> Teléfono +34 952 020 555
>
> www.aubay.com <http://www.aubay.com/>
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
--
David PÉREZ CAMARENA
Programador
*@ubay *
*Delegación en Andalucía*
Parque Tecnológico de Andalucía
Avda. Juan López Peñalver, 21
Teléfono +34 952 020 555
www.aubay.com <http://www.aubay.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070424/b9638e62/attachment.htm>
More information about the opencms-dev
mailing list