[ZCM] [ZC] 325/ 1 Request "PlugIn TextIndex erase all previous indexing when added to a Catalog."
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Sat, 30 Mar 2002 13:47:37 -0500
Issue #325 Update (Request) "PlugIn TextIndex erase all previous indexing when added to a Catalog."
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/325
==============================================================
= Request - Entry #1 by antonio on Mar 30, 2002 1:47 pm
I reported this bug in http://collector.zope.org/Zope/309 and wrongly rejected. That's why I report this issue again.
This issue has been discovered during another bug report (see also http://collector.zope.org/Zope/297)
Well, maybe I was not so clear about this issue. Sorry.
I do not think the catalog should reindex all after adding a TextIndex but at least keep the already indexed values.
Practical Example:
Suppose I have a TextIndex called 'description' and it is already indexed. I have 237 # values on this key, real values not 'None'-values.
Now I add another TextIndex called 'abstract'. I do not do anything more with this. just added.
Now I make use of 'description' in a catalog search and I get no returns. Nothing is indexed under 'description'. Strange becaues before I had 237 # values. I look into the Catalog and see that there still are 237 # values but now they are all 'None'-values !!!
That's why I get no results from a search.
What I presume the Catalog should work is as following:
When I add a new TextIndex then the indexing done before should not be lost.
Thanks in advance
Antonio De Marinis
==============================================================