From 750d419b276b2b168715a168359e5224a8d959b2 Mon Sep 17 00:00:00 2001 From: stefan Date: Tue, 17 Feb 2009 13:05:44 +0000 Subject: [PATCH] Clarify 'search_matches' docs. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4140 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/design.txt | 4 ++-- roundup/hyperdb.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/design.txt b/doc/design.txt index 859fdeb..7aee461 100644 --- a/doc/design.txt +++ b/doc/design.txt @@ -475,6 +475,8 @@ Here is the interface provided by the hyperdatabase:: match the 'filter' spec, sorted by the group spec and then the sort spec. + "search_matches" is a container type + "filterspec" is {propname: value(s)} "sort" and "group" are [(dir, prop), ...] where dir is '+', '-' @@ -482,8 +484,6 @@ Here is the interface provided by the hyperdatabase:: backward-compatibility reasons a single (dir, prop) tuple is also allowed. - "search_matches" is {nodeid: marker} - The filter must match all properties specificed. If the property value to match is a list: diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index b504061..3de66f9 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -1129,7 +1129,7 @@ class Class: backward-compatibility reasons a single (dir, prop) tuple is also allowed. - "search_matches" is a sequence type + "search_matches" is a container type The filter must match all properties specificed. If the property value to match is a list: -- 2.30.2