[Zope-dev] Pluggable Index How-To Questions
Chris Withers
chrisw@nipltd.com
Tue, 12 Jun 2001 14:41:42 +0100
Andreas Jung wrote:
>
> There is a new How-To for PlugginIndexes:
>
> http://www.zope.org/Members/ajung/howto/PluginIndexes/index_html
Looks great :-)
Coupla Questions:
Is there anything you can do in the index_object method to re-use ZCatalog's
"get all attributes and call them if they're callable"?
In uniqueValues, what do the lengths that withLengths returns actually mean?
In _apply_index, are ResultSet objects and how to build them documented
anywhere? What is cid used for?
I take it query_options is better understood by looking at the PathIndex
example?
And finally, has anyone considered writing a Pluggable Index that uses an SQL
index or tabel of some sort to do its indexing?
How abotu a 'Generic Pluggable Index' that lets you implement the interface
using Python Scripts, ZSQL methods, etc?
cheers,
Chris