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
50f60da8
Commit
50f60da8
authored
May 17, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed something -- it can't be very important, because I already forgot.
parent
bed1daed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lib/python/Products/ZCTextIndex/BaseIndex.py
lib/python/Products/ZCTextIndex/BaseIndex.py
+4
-5
No files found.
lib/python/Products/ZCTextIndex/BaseIndex.py
View file @
50f60da8
...
@@ -130,12 +130,11 @@ class BaseIndex(Persistent):
...
@@ -130,12 +130,11 @@ class BaseIndex(Persistent):
def
_search_wids
(
self
,
wids
):
def
_search_wids
(
self
,
wids
):
raise
NotImplementedError
raise
NotImplementedError
# Subclass must override.
# It's not clear what it should do; so far, it only makes real sense
# for the cosine indexer.
def
query_weight
(
self
,
terms
):
def
query_weight
(
self
,
terms
):
# This method was inherited from the cosine measure, and doesn't
raise
NotImplementedError
# make sense for Okapi measures in the way the cosine measure uses
# it. See the long comment at the end of the file for how full
# Okapi BM25 deals with weighting query terms.
return
10
# arbitrary
DICT_CUTOFF
=
10
DICT_CUTOFF
=
10
...
...
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