[opencms-dev] search in xmlcontent elements

Achim Westermann a.westermann at alkacon.com
Tue Nov 22 19:25:55 CET 2005

Hi Salvador,

you can map the author field to the "category" property and use CmsSearchParameters that only accept desired categories. This ain't hurtin' as not even the 
OpenCms properties have to be read at search time: They are put to the lucene index during [re-]build.

kind regards,


Achim Westermann
Alkacon Software

Salvador Santander Gutiérrez wrote:
> We're evaluating OpenCMS 6 to know if we migrate to the new version of
> OpenCMS (we're actually using version 5).
> I like very much the xmlcontent aproach for manage structured elements, but
> I have two doubs about this:
> - It can be possible to run a search based on a field of the xml structure?
> For example, if I want to search only the news wich have the author "david".
> I think the only solution for this is create a ResourceCollector for this
> porpouse. Is there other solutions?
> - If the answer to the previous question is yes, these kind of search seems
> to be very slow, because you have to read all the new elements. Is this
> correct?
> Thanks in advance.
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev

More information about the opencms-dev mailing list