[opencms-dev] Date store in Solr (OpenCms 8.5)
Siegfried Ehret
s.ehret at eurelis.com
Fri Dec 21 16:58:59 CET 2012
THANK YOU !!!
On 12/21, Rüdiger Kurz wrote:
> Hi,
>
> Am 21.12.2012 15:03, schrieb Siegfried Ehret:
> >Hi,
> >I have a field, named Date, with the type OpenCmsString, which use a DateTimeWidget.
> >OpenCms stores it as a timestamp (for example 1170233760000), like expired, created etc.
> >Why dates aren't store as iso 8601 date ? (See http://wiki.apache.org/solr/SolrQuerySyntax)
>
> next to the fact the as you said the type of the field is
> OpenCmsString it es necessary to add something like:
>
> <searchsetting element="Release" searchcontent="false">
> <solrfield targetfield="arelease" sourcefield="*_dt" />
> </searchsetting>
>
> to the XSD of your XML content.
>
> regards
>
> --
> Kind Regards,
> Rüdiger.
>
> -------------------
>
> Rüdiger Kurz
>
> Alkacon Software GmbH - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
--
Siegfried Ehret
More information about the opencms-dev
mailing list