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
80a32df8
Commit
80a32df8
authored
Feb 13, 1997
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
32cb493e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
lib/python/SearchIndex/InvertedIndex.py
lib/python/SearchIndex/InvertedIndex.py
+10
-2
No files found.
lib/python/SearchIndex/InvertedIndex.py
View file @
80a32df8
...
...
@@ -32,7 +32,7 @@ Example usage:
InvertedIndex provides three types of indexes: one non-persistent
index, Index, and two persistent indexes, Persistent and Transactional.
$Id: InvertedIndex.py,v 1.1
2 1997/02/12 18:35:21 cici
Exp $'''
$Id: InvertedIndex.py,v 1.1
3 1997/02/13 17:28:32 chris
Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -84,6 +84,9 @@ $Id: InvertedIndex.py,v 1.12 1997/02/12 18:35:21 cici Exp $'''
# (540) 371-6909
#
# $Log: InvertedIndex.py,v $
# Revision 1.13 1997/02/13 17:28:32 chris
# *** empty log message ***
#
# Revision 1.12 1997/02/12 18:35:21 cici
# added apply() to Transactional and Persistent addentry() methods.
#
...
...
@@ -125,7 +128,7 @@ $Id: InvertedIndex.py,v 1.12 1997/02/12 18:35:21 cici Exp $'''
#
#
#
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
import
regex
,
regsub
,
string
,
marshal
...
...
@@ -279,6 +282,11 @@ class ResultList:
def
near
(
self
,
x
,
distance
=
1
):
'''
\
near(rl, distance = 1)
Returns a ResultList containing documents which contain
result = {}
for key in self.keys():
...
...
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