[Zope-dev] Diff for Standalone SearchIndex

Christian Robottom Reis kiko@async.com.br
Thu, 24 May 2001 15:07:50 -0300 (BRT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1463810461-1020134355-990727670=:9004
Content-Type: TEXT/PLAIN; charset=US-ASCII


I've just fixed the imports so people using SearchIndex out of Zope have
success importing it. Andrew's setup.py can be used if you remove the
parts from it that refer to query (it's attached so people can use it if
they like). I'm using CVS SearchIndex (from the Zope2 branch) but there's
probably little change.

I'm starting to work on documenting them on wiki.async.com.br, and soon I
hope to have a HOWTO we can add to Andrew's if he likes.

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311

---1463810461-1020134355-990727670=:9004
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="setup.py"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.32.0105241507500.9004@blackjesus.async.com.br>
Content-Description: 
Content-Disposition: attachment; filename="setup.py"

IyEvdXNyL2Jpbi9lbnYgcHl0aG9uDQoNCiMgU2V0dXAgZmlsZSBmb3IgU2Vh
cmNoSW5kZXggcGFja2FnZQ0KIyBDb2RlIGJ5IERpZ2l0YWwgQ3JlYXRpb25z
IDxodHRwOi8vd3d3LmRpZ2ljb29sLmNvbT4NCiMgc2V0dXAucHkgd3JpdHRl
biBieSBBLk0uIEt1Y2hsaW5nIDxhbWsxQGJpZ2Zvb3QuY29tPg0KDQpmcm9t
IGRpc3R1dGlscy5jb3JlIGltcG9ydCBzZXR1cA0KZnJvbSBkaXN0dXRpbHMu
ZXh0ZW5zaW9uIGltcG9ydCBFeHRlbnNpb24NCg0Kc3BsaXR0ZXIgPSBFeHRl
bnNpb24obmFtZSA9ICdTZWFyY2hJbmRleC5TcGxpdHRlcicsDQogICAgICAg
ICAgICAgICAgICAgICAgICAgc291cmNlcz0gWydTcGxpdHRlci5jJ10NCiAg
ICAgICAgICAgICAgICAgICAgICAgICApDQpzZXR1cChuYW1lID0gIlNlYXJj
aEluZGV4IiwgDQogICAgICB2ZXJzaW9uID0gIjIuMi4xIiwNCiAgICAgIGRl
c2NyaXB0aW9uID0gIkNvbGxlY3RlZCB1dGlsaXRpZXMgdG8gc3VwcG9ydCBk
YXRhYmFzZSBpbmRleGluZyIsDQogICAgICBhdXRob3IgPSAiRGlnaXRhbCBD
cmVhdGlvbnMiLA0KICAgICAgYXV0aG9yX2VtYWlsID0gInpvcGUtemVvQHpv
cGUub3JnIiwNCiAgICAgIHVybCA9ICJodHRwOi8vd3d3LnpvcGUub3JnIiwN
Cg0KICAgICAgcGFja2FnZXM9WydTZWFyY2hJbmRleCddLA0KICAgICAgcGFj
a2FnZV9kaXIgPSB7J1NlYXJjaEluZGV4JzonLid9LA0KICAgICAgDQogICAg
ICBleHRfbW9kdWxlcyA9IFtzcGxpdHRlcl0sDQogICAgICApDQoNCg==
---1463810461-1020134355-990727670=:9004
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=SearchIndex-diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.32.0105241507501.9004@blackjesus.async.com.br>
Content-Description: 
Content-Disposition: attachment; filename=SearchIndex-diff

PyBkaWZmDQo/IGJ1aWxkDQo/IHNldHVwLnB5DQo/IENoYW5nZUxvZw0KSW5k
ZXg6IEluZGV4LnB5DQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmls
ZTogL2N2cy1yZXBvc2l0b3J5L1pvcGUyL2xpYi9weXRob24vU2VhcmNoSW5k
ZXgvSW5kZXgucHksdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjI4DQpkaWZm
IC11IC1yMS4yOCBJbmRleC5weQ0KLS0tIEluZGV4LnB5CTIwMDEvMDMvMTUg
MTM6MTY6MjQJMS4yOA0KKysrIEluZGV4LnB5CTIw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