[opencms-dev] How can I index my custom-properties?

Olli Aro olli_aro at yahoo.co.uk
Wed Jan 25 13:09:12 CET 2006


Hi Alex and all,

I am finally at the stage that I am porting our version 5 functionality to
version 6 and the intention is still to contribute back as much of it as
possible either to the core or as modules :)

As part of this I will port our search tool across, which has features such
as:-

- External indexer for federated search
- Metadata mapping
- Enchanged search query interface, allowing filtering based on URL
patterns, content types and metadata.

Most of the above can go to a module, but I will look into implementing the
indexing part as the core changes you described and keep you updated on my
progress.

Regards,

Olli 

-----Original Message-----
From: Alexander Kandzior [mailto:alex at opencms.org] 
Sent: 25 January 2006 11:54
To: olli_aro at yahoo.co.uk; 'The OpenCms mailing list'
Subject: RE: [opencms-dev] How can I index my custom-properties?

> Would it be possible to change the core, so that it would 
> index all page properties by default or is this too much 
> overhead? 

I can imagine extending the core in a way that there is a defined set of
properies that gets indexed by Lucene in special index fields. This would be
configurable in the opencms-search.xml (plus the search GUI available in
6.2). Obviously, it would mean a list of property names mapped to lucene
field names in some sort of XML.

The mapping could be globale, per-Index or per-Content-Type. This is to be
decided later.

Since fields in XML content can be easily mapped to special properties, this
would also solve the "how can I make fields in my XML content searchable"
issue that is also requested quite often.

This should not be overly difficulet to implement since currently there is a
"hardcoded" indexing behaviour for the "Title", "Keyword" and "Description"
property that should should be quite easy to generalize.

What I can say is that we at Alkacon do have no current plans to implement
such a feature. Any contribution on this would therefore be very welcome.

Kind Regards,
Alex.

-------------------
Alexander Kandzior

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

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
> Sent: Wednesday, January 25, 2006 12:22 PM
> To: 'The OpenCms mailing list'
> Subject: RE: [opencms-dev] How can I index my custom-properties?
> 
> Hi,
> 
> I am also interested on this, since I am currently looking 
> into porting our search functionality from version 5. As far 
> as I can see, the only way to extend this is to modify the 
> core classes' behaviour.
> 
> Would it be possible to change the core, so that it would 
> index all page properties by default or is this too much 
> overhead? Or another idea - could the search xml be extended, 
> so you could pass in an indexer class the same way you can 
> currently pass in Analysers?
> 
> Regards,
> 
> Olli
> 
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Uwe König
> Sent: 25 January 2006 11:08
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] How can I index my custom-properties?
> 
> 
> Hello all, 
> 
> I've defined some custom-props and want them to be indexed by 
> lucene as additional fields besides title, keywords and 
> description. How can I do that? I use OpenCMS 6.0.3 Thanks 
> for any contributions. Best regards, 
> 
> Uwe König 
> 
> _______________________________________________
> 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
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.22/239 - Release 
> Date: 24/01/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.22/239 - Release 
> Date: 24/01/2006
>  
> 
> 
> 		
> ___________________________________________________________ 
> To help you stay safe and secure online, we've developed the 
> all new Yahoo! Security Centre. http://uk.security.yahoo.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
> 
> 

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 24/01/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 24/01/2006
 


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



More information about the opencms-dev mailing list