Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
fbb7ba2d
Commit
fbb7ba2d
authored
May 09, 2003
by
Casey Duncan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port interface check fix from 2.6 branch. This should now work
with new Zope3 interfaces
parent
18624392
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
8 deletions
+14
-8
lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml
lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml
+2
-4
lib/python/SearchIndex/Index.py
lib/python/SearchIndex/Index.py
+3
-1
lib/python/SearchIndex/TextIndex.py
lib/python/SearchIndex/TextIndex.py
+3
-1
lib/python/SearchIndex/UnIndex.py
lib/python/SearchIndex/UnIndex.py
+3
-1
lib/python/SearchIndex/UnTextIndex.py
lib/python/SearchIndex/UnTextIndex.py
+3
-1
No files found.
lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml
View file @
fbb7ba2d
...
...
@@ -151,12 +151,10 @@ function toggleSelect() {
<td>
<div class="list-item">
<dtml-if "_.string.find(_.str(_.getattr(this(),'__implements__','old')),'PluggableIndex')>-1">
&dtml-meta_type;
<dtml-else>
<dtml-var meta_type>
<dtml-if isDeprecatedIndex>
<dtml-call "REQUEST.set('oldidx',1)">
(pre-2.4 index)
&dtml-meta_type;
</dtml-if>
</div>
</td>
...
...
lib/python/SearchIndex/Index.py
View file @
fbb7ba2d
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Simple column indices"""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
from
Persistence
import
Persistent
from
BTrees.OOBTree
import
OOBTree
...
...
@@ -36,6 +36,8 @@ def nonEmpty(s):
class
Index
(
Persistent
):
"""Index object interface"""
isDeprecatedIndex
=
1
def
__init__
(
self
,
data
=
None
,
schema
=
None
,
id
=
None
,
ignore_ex
=
None
,
call_methods
=
None
):
...
...
lib/python/SearchIndex/TextIndex.py
View file @
fbb7ba2d
...
...
@@ -130,7 +130,7 @@ Notes on a new text index design
space.
"""
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
2
$'
[
11
:
-
2
]
#XXX I strongly suspect that this is broken, but I'm not going to fix it. :(
...
...
@@ -146,6 +146,8 @@ from Lexicon import Lexicon, stop_word_dict
from
ResultList
import
ResultList
class
TextIndex
(
Persistent
):
isDeprecatedIndex
=
1
def
__init__
(
self
,
data
=
None
,
schema
=
None
,
id
=
None
,
ignore_ex
=
None
,
call_methods
=
None
):
...
...
lib/python/SearchIndex/UnIndex.py
View file @
fbb7ba2d
...
...
@@ -13,7 +13,7 @@
"""Simple column indices"""
__version__
=
'$Revision: 1.3
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
3
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Acquisition
import
Implicit
...
...
@@ -36,6 +36,8 @@ class UnIndex(Persistent, Implicit):
"""UnIndex object interface"""
meta_type
=
'Field Index'
isDeprecatedIndex
=
1
def
__init__
(
self
,
id
,
ignore_ex
=
None
,
call_methods
=
None
):
"""Create an unindex
...
...
lib/python/SearchIndex/UnTextIndex.py
View file @
fbb7ba2d
...
...
@@ -19,7 +19,7 @@ undo information so that objects can be unindexed when the old value
is no longer known.
"""
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
4
$'
[
11
:
-
2
]
import
string
,
re
...
...
@@ -64,6 +64,8 @@ class UnTextIndex(Persistent, Implicit):
This isn't exactly how things are represented in memory, many
optimizations happen along the way."""
isDeprecatedIndex
=
1
meta_type
=
'Text Index'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment