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
41a983b1
Commit
41a983b1
authored
Jun 01, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactored help
parent
2c8779b5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
106 additions
and
12 deletions
+106
-12
lib/python/Products/PluginIndexes/FieldIndex/help/FieldIndex_searchResults.stx
...luginIndexes/FieldIndex/help/FieldIndex_searchResults.stx
+32
-0
lib/python/Products/PluginIndexes/KeywordIndex/help/KeywordIndex_searchResults.stx
...nIndexes/KeywordIndex/help/KeywordIndex_searchResults.stx
+23
-0
lib/python/Products/PluginIndexes/PathIndex/help/PathIndex_searchResults.stx
.../PluginIndexes/PathIndex/help/PathIndex_searchResults.stx
+25
-0
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
+3
-12
lib/python/Products/PluginIndexes/TextIndex/help/TextIndex_searchResults.stx
.../PluginIndexes/TextIndex/help/TextIndex_searchResults.stx
+23
-0
No files found.
lib/python/Products/PluginIndexes/FieldIndex/help/FieldIndex_searchResults.stx
0 → 100644
View file @
41a983b1
ZCatalog - searchResults: specifying parameters for a search query
The searchResults() method of the ZCatalog accepts parameters that
define a query to be made on that catalog. A query can either be
passed as keyword argument to searchResults(), as a mapping, or as
part of a Zope REQUEST object, typically from HTML forms.
The index of the catalog to query is either the name of the
keyword argument, a key in a mapping, or an attribute of a record
object.
Attributes of record objects
'query' -- either a sequence of objects or a single value to be
passed as query to the index (mandatory)
'range' -- defines a range search on a Field Index (optional,
default: not set).
Allowed values:
'min' -- Searches for all objects with values larger than
the minimum of the values passed in the 'query' parameter.
'max' -- Searches for all objects with values smaller than
the maximum of the values passed in the 'query' parameter.
'minmax' -- Searches for all objects with values smaller
than the maximum of the values passed in the 'query'
parameter and larger than the minimum of the values passwd
in the 'query' parameter.
lib/python/Products/PluginIndexes/KeywordIndex/help/KeywordIndex_searchResults.stx
0 → 100644
View file @
41a983b1
ZCatalog - searchResults: specifying parameters for a search query
The searchResults() method of the ZCatalog accepts parameters that
define a query to be made on that catalog. A query can either be
passed as keyword argument to searchResults(), as a mapping, or as
part of a Zope REQUEST object, typically from HTML forms.
The index of the catalog to query is either the name of the
keyword argument, a key in a mapping, or an attribute of a record
object.
Attributes of record objects
'query' -- either a sequence of objects or a single value to be
passed as query to the index (mandatory)
'operator' -- specifies the combination of search results when
query is a sequence of values. (optional, default: 'or').
Allowed values:
'and', 'or'
lib/python/Products/PluginIndexes/PathIndex/help/PathIndex_searchResults.stx
0 → 100644
View file @
41a983b1
ZCatalog - searchResults: specifying parameters for a search query
The searchResults() method of the ZCatalog accepts parameters that
define a query to be made on that catalog. A query can either be
passed as keyword argument to searchResults(), as a mapping, or as
part of a Zope REQUEST object, typically from HTML forms.
The index of the catalog to query is either the name of the
keyword argument, a key in a mapping, or an attribute of a record
object.
Attributes of record objects
'query' -- either a sequence of objects or a single value to be
passed as query to the index (mandatory)
'operator' -- specifies the combination of search results when
query is a sequence of values. (optional, default: 'or').
Allowed values:
'and', 'or'
'level' -- only applies to Path Index. Specifies the directory
level to start searching. (optional, default: 0)
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
View file @
41a983b1
...
...
@@ -173,7 +173,9 @@ class Vocabulary(Item, Persistent, Implicit,
result
.
append
(
self
.
lexicon
.
_inverseLex
[
x
])
else
:
result
.
append
(
pattern
)
return
result
result
.
append
(
r"öfters"
)
return
str
(
result
)
def
manage_insert
(
self
,
word
=
''
,
URL1
=
None
,
RESPONSE
=
None
):
...
...
@@ -194,14 +196,3 @@ class Vocabulary(Item, Persistent, Implicit,
def
words
(
self
):
return
self
.
lexicon
.
_lexicon
.
items
()
lib/python/Products/PluginIndexes/TextIndex/help/TextIndex_searchResults.stx
0 → 100644
View file @
41a983b1
ZCatalog - searchResults: specifying parameters for a search query
The searchResults() method of the ZCatalog accepts parameters that
define a query to be made on that catalog. A query can either be
passed as keyword argument to searchResults(), as a mapping, or as
part of a Zope REQUEST object, typically from HTML forms.
The index of the catalog to query is either the name of the
keyword argument, a key in a mapping, or an attribute of a record
object.
Attributes of record objects
'query' -- either a sequence of objects or a single value to be
passed as query to the index (mandatory)
'operator' -- specifies the combination of search results when
query is a sequence of values. (optional, default: 'or').
Allowed values:
'and', 'or', 'andnot', 'near'
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