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
8263c2db
Commit
8263c2db
authored
Dec 01, 1997
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow indexing of non-text fields
parent
5bbcd758
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/SearchIndex/TextIndex.py
lib/python/SearchIndex/TextIndex.py
+6
-3
No files found.
lib/python/SearchIndex/TextIndex.py
View file @
8263c2db
...
...
@@ -127,8 +127,8 @@ Notes on a new text index design
$Id: TextIndex.py,v 1.
6 1997/11/03 18:59:59 jim
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
$Id: TextIndex.py,v 1.
7 1997/12/01 22:58:48 jeffrey
Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
from
Globals
import
Persistent
import
BTree
,
IIBTree
...
...
@@ -194,7 +194,7 @@ class TextIndex(Persistent):
id
=
self
.
_schema
[
id
]
row
=
self
.
_data
[
i
]
k
=
f
(
row
,
id
)
k
=
str
(
f
(
row
,
id
)
)
self
.
_index_document
(
k
,
i
,
un
)
...
...
@@ -626,6 +626,9 @@ for word in stop_words: stop_word_dict[word]=None
##############################################################################
#
# $Log: TextIndex.py,v $
# Revision 1.7 1997/12/01 22:58:48 jeffrey
# Allow indexing of non-text fields
#
# Revision 1.6 1997/11/03 18:59:59 jim
# Fixed several bugs in handling query parsing and proximity search.
#
...
...
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