You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by "Viner, David" <dv...@yahoo-inc.com> on 2003/07/29 20:08:12 UTC
Metadata [Was:RE: [PATCH] XTools adds user.dir to absolute paths]
let me know if my cut at metadata does not support what you need. i'm happy
to modify it or revamp it to fit the needs of the community.
last modified time is there. i only use it for documents, and haven't
completely tested it, but it works for me (in my application). let me know
if it doesn't make sense.
dave
-----Original Message-----
From: Gianugo Rabellino [mailto:gianugo@apache.org]
Sent: Monday, July 28, 2003 11:21 PM
To: xindice-dev@xml.apache.org
Subject: Re: [PATCH] XTools adds user.dir to absolute paths
Vadim Gritsenko wrote:
> Gianugo Rabellino wrote:
>
>> how would you like to get involved more and help yourself? :-)
>
>
>
> I'd like to see meta data implemented. I do see a great need of last
> modified time for resources and ideally for query results on collections
> too in order to provide adequate performance of xindice in conjunction
> with cocoon.
>
> Is there any work going on to complete meta data support?
David did a first cut at an implementation, have you seen it? However,
metadata are my pet peeve too: the problem is that it's an issue to be
solved in two places: here and on the XMLDB API list.
> After a quick
> look at the API my first guess is that this can be done via exposing
> MetadataService. Am I on the right track? I can try and finish this
> implementation and fix here and there some other stuff as well (usual
> disclaimer -- "if time permits" -- applies)
This is a recurring issue. Please have a look at these threads:
http://marc.theaimsgroup.com/?t=103839556100006&r=1&w=2
http://marc.theaimsgroup.com/?t=104749973700007&r=1&w=2
http://marc.theaimsgroup.com/?t=104066672500001&r=1&w=2
http://marc.theaimsgroup.com/?t=103828933700002&r=1&w=2
http://marc.theaimsgroup.com/?t=101402632800003&r=1&w=2
And, yes, your help is *most* appreciated. :-)
Ciao,
--
Gianugo Rabellino
Pro-netics s.r.l. - http://www.pro-netics.com
Orixo, the XML business alliance - http://www.orixo.com
(Now blogging at: http://blogs.cocoondev.org/gianugo/)
Re: Metadata [Was:RE: [PATCH] XTools adds user.dir to absolute paths]
Posted by Vadim Gritsenko <va...@verizon.net>.
Viner, David wrote:
>let me know if my cut at metadata does not support what you need.
>
It does support what I need. I need to expose it via some API though.
I'm thinking about adding MetaService - is there better way to do it?
>i'm happy
>to modify it or revamp it to fit the needs of the community.
>
>last modified time is there. i only use it for documents, and haven't
>completely tested it, but it works for me (in my application). let me know
>if it doesn't make sense.
>
I did not understand how it gets stored into/retrieved from the
database. Everytime I ask for metadata I get current time. I think the
problem is that the retreiving part of code is commented out (see lines
633 - 640):
http://cvs.apache.org/viewcvs.cgi/xml-xindice/java/src/org/apache/xindice/core/Collection.java?annotate=1.22
And instead, current time is taken every time you get meta. How does it
work for you?
Vadim