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
e7076b05
Commit
e7076b05
authored
Apr 23, 1997
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug in Index __getitem__() that caused it not to return
ResultLists
parent
b5ae0084
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
lib/python/SearchIndex/InvertedIndex.py
lib/python/SearchIndex/InvertedIndex.py
+13
-5
No files found.
lib/python/SearchIndex/InvertedIndex.py
View file @
e7076b05
...
...
@@ -30,7 +30,7 @@ Example usage:
print i['blah']
$Id: InvertedIndex.py,v 1.3
4 1997/04/23 16:53:27
chris Exp $'''
$Id: InvertedIndex.py,v 1.3
5 1997/04/23 16:56:31
chris Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -82,6 +82,10 @@ $Id: InvertedIndex.py,v 1.34 1997/04/23 16:53:27 chris Exp $'''
# (540) 371-6909
#
# $Log: InvertedIndex.py,v $
# Revision 1.35 1997/04/23 16:56:31 chris
# fixed bug in Index __getitem__() that caused it not to return
# ResultLists
#
# Revision 1.34 1997/04/23 16:53:27 chris
# *** empty log message ***
#
...
...
@@ -196,7 +200,7 @@ $Id: InvertedIndex.py,v 1.34 1997/04/23 16:53:27 chris Exp $'''
#
#
#
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
import
regex
,
string
,
copy
...
...
@@ -616,7 +620,7 @@ class Index:
return
List
()
try
:
return
index
[
key
]
return
List
(
index
[
key
])
except
KeyError
:
return
List
()
...
...
@@ -736,7 +740,7 @@ Example usage:
print i['blah']
$Id: InvertedIndex.py,v 1.3
4 1997/04/23 16:53:27
chris Exp $'''
$Id: InvertedIndex.py,v 1.3
5 1997/04/23 16:56:31
chris Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -788,6 +792,10 @@ $Id: InvertedIndex.py,v 1.34 1997/04/23 16:53:27 chris Exp $'''
# (540) 371-6909
#
# $Log: InvertedIndex.py,v $
# Revision 1.35 1997/04/23 16:56:31 chris
# fixed bug in Index __getitem__() that caused it not to return
# ResultLists
#
# Revision 1.34 1997/04/23 16:53:27 chris
# *** empty log message ***
#
...
...
@@ -902,7 +910,7 @@ $Id: InvertedIndex.py,v 1.34 1997/04/23 16:53:27 chris Exp $'''
#
#
#
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
import
regex
,
string
,
copy
...
...
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