You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by ma...@pfeuffer-net.de on 2004/06/30 11:11:58 UTC

How to search for MetaData?

Hi,

I'm running Xindice 1.1b4 in a tomcat 5.0.19 environment and I want to
search for stored documents by using the MetaData Information, Xindice
assigned to the documents.

It was no big problem to import and export both, XMLResources and
BinaryResources. Also the assignment of SystemMetaData (CreationDate,
ModificationDate) and CustomMetaData (based on Dublin Core) could be
realized. But how can I query the database (for example per XPath) and
search for specific documents using the MetaData-Information.

My first idea was to store the MetaData inside the XMLResources and query by
XPath, but this doesn't work with binary objects of course.

I didn't find any functions for querying MetaData in the DB:XML API.

Perhaps anyone can help me?

Thanks very much,

Sven Pfeuffer.

--
Sven Pfeuffer     ***     mailbox@pfeuffer-net.de



Re: How to search for MetaData?

Posted by Vadim Gritsenko <va...@reverycodes.com>.
mailbox@pfeuffer-net.de wrote:

>I'm running Xindice 1.1b4 in a tomcat 5.0.19 environment and I want to
>search for stored documents by using the MetaData Information, Xindice
>assigned to the documents.
>
>It was no big problem to import and export both, XMLResources and
>BinaryResources. Also the assignment of SystemMetaData (CreationDate,
>ModificationDate) and CustomMetaData (based on Dublin Core) could be
>realized. But how can I query the database (for example per XPath) and
>search for specific documents using the MetaData-Information.
>
>My first idea was to store the MetaData inside the XMLResources and query by
>XPath, but this doesn't work with binary objects of course.
>
>I didn't find any functions for querying MetaData in the DB:XML API.
>
>Perhaps anyone can help me?
>  
>

Unfortunately, such function is not implemented. If you can, you can 
implement it and send patches to the dev list for incorporation into 
xindice.

Thanks,
Vadim