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 Damien Dudouit <da...@ssl.co.uk> on 2002/04/17 18:42:01 UTC
Collection - code question.
Hello all,
That's my first question on the list. You might find it slightly bizarre but if one of you
could reply it in a couple of sentences, I would be really greatful.
I have been trying to understand to core code of Xindice's filer
(org.apache.xindice.core.filer) and I don't understand how physically collections are held
down in the B+Tree.
Is a key (of an XML document) unique only within a collection? i.e, does each collection
use a separate BTree inside of a unique file?
The file consists of a header and pages, some holding records, some holding the
simple-prefix indexes. Where physically are the collection structure held?
Many thanks in advance,
Damien
Re: Collection - code question.
Posted by Kimbro Staken <ks...@xmldatabases.org>.
On Wednesday, April 17, 2002, at 09:42 AM, Damien Dudouit wrote:
> Hello all,
>
> That's my first question on the list. You might find it slightly bizarre
> but if one of you
> could reply it in a couple of sentences, I would be really greatful.
>
> I have been trying to understand to core code of Xindice's filer
I'm not really an expert at this code but I'll take a stab.
> (org.apache.xindice.core.filer) and I don't understand how physically
> collections are held
> down in the B+Tree.
> Is a key (of an XML document) unique only within a collection?
Yes.
> i.e, does each collection
> use a separate BTree inside of a unique file?
>
Yes.
> The file consists of a header and pages, some holding records, some
> holding the
> simple-prefix indexes. Where physically are the collection structure held?
>
The collection hierarchy is mirrored in the file system under the db
directory and the collection configuration is stored as XML in a
collection system/SysConfig.
> Many thanks in advance,
>
> Damien
>
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org