[redland-dev] librdf bdb indexes

Ben Ranker ben-redland at lateralfricative.net
Sat Dec 15 00:45:09 GMT 2007


It looks like a couple of years ago another user wanted to add an s2po
index and got some help here[1][2]. I'm in a similar situation: I'd
really like s2po and o2sp. I'm starting to hack together some code.

My question is not about adding the new hashes, though. I think I can
figure that out from the referenced threads. (Thanks,
Dave-four-years-ago!) 

My question is about configuration. I want to be able to use a
configuration option to specify which indexes to create. In trying to
figure out how to do this, I noticed that librdf_storage_hashes_init()
already checks for an "indexes" option and stores it in
context->indexes. As far as I can tell, though, nothing ever actually
uses context->indexes.

What is context->indexes in rdf_storage_hashes.c? Was it added as a step
toward some user-selectable indexing system like the one I'm now working
on? Was it intended for something else entirely?

And more broadly, has anybody else already thought through the problem
of flexible user-selectable bdb indexes and what its configuration
should look like? I'd love to hear any thoughts you guys have on it.

-- 
Ben Ranker             ben at lateralfricative.net

[1]: http://lists.usefulinc.com/pipermail/redland-dev/2003-May/000355.html
[2]: http://lists.usefulinc.com/pipermail/redland-dev/2003-June/000366.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.usefulinc.com/pipermail/redland-dev/attachments/20071214/209bc958/attachment.pgp


More information about the redland-dev mailing list