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
052a199f
Commit
052a199f
authored
Jun 15, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed forgotten debug code
parent
f907c164
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
+3
-1
No files found.
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
View file @
052a199f
...
@@ -91,7 +91,7 @@ undo information so that objects can be unindexed when the old value
...
@@ -91,7 +91,7 @@ undo information so that objects can be unindexed when the old value
is no longer known.
is no longer known.
"""
"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
string
,
re
import
string
,
re
...
@@ -588,6 +588,7 @@ class TextIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -588,6 +588,7 @@ class TextIndex(PluggableIndex.PluggableIndex, Persistent,
## various languages.
## various languages.
q
=
self
.
getLexicon
().
query_hook
(
q
)
q
=
self
.
getLexicon
().
query_hook
(
q
)
# do some more parsing
# do some more parsing
q
=
parse2
(
q
,
default_operator
)
q
=
parse2
(
q
,
default_operator
)
## evalute the final 'expression'
## evalute the final 'expression'
...
@@ -670,6 +671,7 @@ class TextIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -670,6 +671,7 @@ class TextIndex(PluggableIndex.PluggableIndex, Persistent,
query
[(
i
-
1
)
:
(
i
+
2
)]
=
[
val
]
query
[(
i
-
1
)
:
(
i
+
2
)]
=
[
val
]
else
:
i
=
i
+
1
else
:
i
=
i
+
1
if
(
len
(
query
)
!=
1
):
raise
QueryError
,
"Malformed query"
if
(
len
(
query
)
!=
1
):
raise
QueryError
,
"Malformed query"
return
query
[
0
]
return
query
[
0
]
...
...
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