[opencms-dev] Re: How to search properties?
Olli Aro
olli_aro at yahoo.co.uk
Thu Apr 28 22:54:58 CEST 2005
All properties are indexed in class
net.grcomputing.opencms.search.lucene.BodylessDocument, so you can add
indexing for your custom properties there and it will be included for all
different resource types.
Regards,
Olli
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Ernesto De Santis
Sent: 28 April 2005 21:45
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Re: How to search properties?
Hi Henrique
OpenCms escribió:
>???
>
>Hi all,
>
>How can I use Lucene to build an index and search file properties with
>OpenCms 5.0.1?
>
You can use opencmslucene module. See in module sandbox section, in
opencms site.
or in http://opencmslucene.sourceforge.net/
>I need to search default and user defined properties.
>
>
default properties are indexed, user defined properties need
implementation for you.
You need to subclass a properly DocumentFactory, as PageDocument,
PlainDocument, etc.
Bye
Ernesto.
>Still, is it possible to search files for publishing or last modified
>date? If possible, does anyone have code snippet?
>
>Thanks in advance,
>
>Henrique Chevreux O. C. Dias
>Desenvolvimento
>Oriens Tecnologia Ltda.
>+55 (31) 2191-8777
>
>
>
>_______________________________________________
>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
>
>
>
--
Ernesto De Santis - Colaborativa.net
Córdoba 1147 Piso 6 Oficinas 3 y 4
(S2000AWO) Rosario, SF, Argentina.
_______________________________________________
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
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
More information about the opencms-dev
mailing list