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
bed1daed
Commit
bed1daed
authored
May 17, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More docstring corrections.
parent
7d79b5a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/Products/ZCTextIndex/IIndex.py
lib/python/Products/ZCTextIndex/IIndex.py
+3
-3
No files found.
lib/python/Products/ZCTextIndex/IIndex.py
View file @
bed1daed
...
...
@@ -25,7 +25,7 @@ class IIndex(Interface.Base):
def
search
(
term
):
"""Execute a search on a single term given as a string.
Return an IIB
ucket
mapping docid to score, or None if all docs
Return an IIB
Tree
mapping docid to score, or None if all docs
match due to the lexicon returning no wids for the term (e.g.,
if the term is entirely composed of stopwords).
"""
...
...
@@ -33,7 +33,7 @@ class IIndex(Interface.Base):
def
search_phrase
(
phrase
):
"""Execute a search on a phrase given as a string.
Return an IIB
ucket
.
Return an IIB
tree mapping docid to score
.
"""
def
search_glob
(
pattern
):
...
...
@@ -45,7 +45,7 @@ class IIndex(Interface.Base):
NOTE: Currently only a single trailing * is supported.
Return an IIB
ucket
.
Return an IIB
Tree mapping docid to score
.
"""
def
query_weight
(
terms
):
...
...
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