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
cab6962f
Commit
cab6962f
authored
Feb 21, 1997
by
cici
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
062a9ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/python/SearchIndex/InvertedIndex.py
lib/python/SearchIndex/InvertedIndex.py
+7
-3
No files found.
lib/python/SearchIndex/InvertedIndex.py
View file @
cab6962f
...
...
@@ -30,7 +30,7 @@ Example usage:
print i['blah']
$Id: InvertedIndex.py,v 1.1
5 1997/02/19 17:05:09 chris
Exp $'''
$Id: InvertedIndex.py,v 1.1
6 1997/02/21 19:37:01 cici
Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -82,6 +82,9 @@ $Id: InvertedIndex.py,v 1.15 1997/02/19 17:05:09 chris Exp $'''
# (540) 371-6909
#
# $Log: InvertedIndex.py,v $
# Revision 1.16 1997/02/21 19:37:01 cici
# *** empty log message ***
#
# Revision 1.15 1997/02/19 17:05:09 chris
# *** empty log message ***
#
...
...
@@ -132,7 +135,7 @@ $Id: InvertedIndex.py,v 1.15 1997/02/19 17:05:09 chris Exp $'''
#
#
#
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
import
regex
,
regsub
,
string
,
SingleThreadedTransaction
,
copy
...
...
@@ -609,7 +612,8 @@ class PersistentResultList(ResultList, SingleThreadedTransaction.Persistent):
def
addentry
(
self
,
key
,
*
info
):
'''Add a frequency/key pair to this object'''
apply
(
ResultList
.
addentry
,
(
self
,
key
)
+
info
)
apply
(
PersistentResultList
.
inheritedAttribute
(
'addentry'
),
(
self
,
key
)
+
info
)
self
.
__changed__
(
1
)
...
...
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