Re: [Zope-dev] What catalog/index to use ...

2002-11-08 Thread Jens Vagelpohl
Depends on your needs. ZCTextIndex is very easy to use and supports relevance ranking, TextIndexNG is supposed to be some kind of eier-legende-wollmilch-sau. Compare the features and make your choice. -aj isn't TextIndexNG much better with international character encodings and that stuff?

Re: [Zope-dev] What catalog/index to use ...

2002-11-08 Thread Casey Duncan
ZCTextIndex is to become the full replacement for old TextIndex. There are a couple of outstanding patches for making the ZCTextIndex splitter, etc. locale friendly. Whether those solve your problem I don't know. We are happy to improve ZCTextIndex for international use, however we at Zope

Re: [Zope-dev] What catalog/index to use ...

2002-11-08 Thread Casey Duncan
In the original design of ZCTextIndex we (PythonLabs mostly) considered stemming and found that it has been found to have dubious value in many information theorists views (The fact that Google does no stemming was also a factor in the decision). So we decided to leave it out entirely.

[Zope-dev] Re: What catalog/index to use ...

2002-11-08 Thread Maik Jablonski
Joachim Werner wrote: Does it make sense to get ZCTextIndex fixed (there seems to be a patch in the collector already) or should I go with TextIndexNG? If yes, is it ready for production environments? hi, I've submitted a patch for locale-support for ZCTextIndex:

Re: [Zope-dev] Re: What catalog/index to use ...

2002-11-08 Thread Casey Duncan
The main reason I have not merged this already is that I lack a sample to make a new test with. If someone can provide me with some content samples that break now, but work with the patch, I will make a new test and checkin the fix for 2.7 perhaps 2.6.1 if desired. -Casey On Friday 08

[Zope-dev] Re: What catalog/index to use ...

2002-11-08 Thread Maik Jablonski
Casey Duncan wrote: The main reason I have not merged this already is that I lack a sample to make a new test with. If someone can provide me with some content samples that break now, but work with the patch, I will make a new test and checkin the fix for 2.7 perhaps 2.6.1 if desired. -Casey

Re: [Zope-dev] Re: What catalog/index to use ...

2002-11-08 Thread Joachim Werner
Hi! Some additional remarks: While making the splitting dependent on the locale settings (as done in the old TextIndex) helps with most use cases, I'm not sure if that is the right thing to do in the long run. Locale settings are good for client software, i.e. if you want to have a program behave

Re: [Zope-dev] Re: What catalog/index to use ...

2002-11-08 Thread Andreas Jung
--On Freitag, 8. November 2002 19:49 +0100 Joachim Werner [EMAIL PROTECTED] wrote: Hi! Some additional remarks: While making the splitting dependent on the locale settings (as done in the old TextIndex) helps with most use cases, I'm not sure if that is the right thing to do in the long run.

[Zope-dev] ZEO 2.0 testConnection() takes 30 seconds (MountedStorage)

2002-11-08 Thread Brad Clements
I'm using mounted storage.. Whenever my Zope server restarts, it takes 30 seconds after the first web hit before it's really up and running because testConnection() is called by somebody. 1. Why does testConnection() take 30 seconds to run, or is it something else? 2. Why is testConnection()

Re: [Zope-dev] Re: Unsecure design of ExternalFile

2002-11-08 Thread Craeg K Strong
OK How about this for the TODO list for ExternalFile: Create a facility whereby ExternalFiles must be created within a set of allowed directory(ies), specified in .../etc/allowedDirectories.txt For example: # # helpful comment goes here # / # allow everything # Or: #

Re: [Zope-dev] Non Bloating Page Counter

2002-11-08 Thread Dieter Maurer
Brian R Brinegar writes: We've had requests from several of our users for the ability to have a drop in page counter within zope. However creating a page counter python script which increments some value in zope will bloat the ZODB. Solutions exist where values are stored on the file

Re: [Zope-dev] Unit tests for Zope products: how to test HTTP access to objectsin ZODB?

2002-11-08 Thread Dieter Maurer
Craeg K Strong writes: I am trying to add some unit tests for my XMLTransform product that test URL to Zope object traversal. For example, I want to ensure that one XSLT (a zope object) can include another using xsl:include ../foo.xsl/ Zope should transform the above into a

Re: [Zope-dev] Non Bloating Page Counter

2002-11-08 Thread kapil thangavelu
On Friday 08 November 2002 01:55 pm, Dieter Maurer wrote: Brian R Brinegar writes: We've had requests from several of our users for the ability to have a drop in page counter within zope. However creating a page counter python script which increments some value in zope will bloat the

[Zope-dev] Simplifying the zdaemon package

2002-11-08 Thread Guido van Rossum
The zdaemon package contains a bunch of dead wood, or decoys, as Jim would call it, that I'd like to remove. AFAICT, Heartbeat.py is not used anywhere. At least not in the Zope sources -- maybe there are outside users??? And ZDaemonLogging.py is a very thin layer on top of zLOG -- can I get rid

[Zope-dev] Re: [Zope] user roles authentication

2002-11-08 Thread Dieter Maurer
Grant K Rauscher writes: recently I noticed that methods for retrieving user roles are affected by the URL from which the user logged in using basic authentication (as opposed to the location of the user account). This is how the HTTP 1/1 specification requires it to be. Your browser