2007/5/19, Joe Shaw <<a href="mailto:joe@joeshaw.org">joe@joeshaw.org</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On 5/19/07, Mikkel Kamstrup Erlandsen <<a href="mailto:mikkel.kamstrup@gmail.com">mikkel.kamstrup@gmail.com</a>> wrote:<br>> Would the HitType/FileType structure of Beagle not be implicit with a<br>> Category structure like this:
<br>> <a href="http://www.grillbar.org/xesam/object-tree.png">http://www.grillbar.org/xesam/object-tree.png</a> (this is not<br>> the old example again)? Especially if you couple this with a Field->Category<br>> map (such that, fx, only Objects of category File has the ExactFileName
<br>> field set) like the Strigi/Nepomuk camp want. Atleast it seem to cover the<br>> examples so far.<br><br>Where does an audio email attachment fall in here? If being a<br>subclass of "File" implies an ExactFilename property, this doesn't
<br>work.</blockquote><div><br>Right. That was not entirely thought through. I must admit that I find <a href="http://beagle-project.org/Writing_clients">http://beagle-project.org/Writing_clients</a> a bit confusing though. As far as I can tell from your words here I gather that Beagles HitType means "this-is-a" and that the FileType means "this-comes-from", but that's not how I read that site (fx. Document is a FileType whereas I would expect it to be a HitType with FileType=File).
<br><br>I've tried to come up with a system that should include Beagles current system in a more clear way. The idea is that an indexed object has three has three things: One Category, One Source, and N Fields (for N>=0).
<br><br>The Category is what Beagle calls HitType. The Source is where the object originates from, a more general thing than Beagles FileType. Fields are "properties" that are available according to the spec of the category and the source.
<br></div><br>I have another sketch here : <a href="http://grillbar.org/xesam/cat-source-field.png">http://grillbar.org/xesam/cat-source-field.png</a><br><br>Then fx there could be a SourceURI field so that you could determine that a given image with source=Archive was from a zip file attached to and email...
<br><br>Cheers,<br>Mikkel<br></div>