[opencms-dev] Lucene date range search in individual xmlContent date fields

"Rüdiger Kurz (list)" r.kurz at alkacon.com
Wed May 23 11:36:42 CEST 2012


Hi Bernd,

On 05/23/2012 11:22 AM, ] Code Create [ Bernd Wolfsegger wrote:
> Hi Rüdiger,
>
> what a crude stuff ;-))
> But it works like a charm now :-)
congratulations ;-)

> Though, first I had to rewrite all the contents so that the mapping takes
> place.
Hopefully you rewrote the contents with the workplace context menu

> It's not important, but is there any known reason, why it is not possible to
> get the value of the field with the long (the xml content date field) as
> part of the extraction content?  Is it because the long is not considered to have any sound or useful 
textual
> representation :)
Really good point maybe the next version of OpenCms will over write
org.opencms.xml.types.I_CmsXmlContentValue.getPlainText(CmsObject)
in org.opencms.xml.types.CmsXmlDateTimeValue and returns an ISO 8601 
standard format like the one that is already used in Solr.

> Anyway, thanx a lot!
> Kind regards, Bernd
- Rüdiger

-- 
Kind Regards,
Rüdiger.

-------------------

Visit OpenCms Days 2012 Conference and Expo September 24 to 25, 2012 in 
Cologne, Germany http://www.opencms-days.org

Rüdiger Kurz

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list