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

"Rüdiger Kurz (list)" r.kurz at alkacon.com
Wed May 23 09:30:41 CEST 2012


Hi,

On 05/23/2012 12:22 AM, ] Code Create [ Bernd Wolfsegger wrote:
> Hi Rüdiger,
>
> I think that's why:
>
> public class CmsXmlDateTimeValue extends A_CmsXmlValueTextBase {
>      public boolean isSearchable() {
>
>          // there is no point in searching date/time values
>          // they are stored as long int anyway
>          return false;
>      }

This is just the default. The concrete search settings are done in the 
appinfo of the XML Content schema: <xsd:searchsettings>


> But even changing this and compiling etc. as well as setting explicit search
> annotation in the xsd, doesn't change the behavior.
> The field value is not to be found in the extractionResult.
>
> 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