Priority: Normal
Current State: Waiting for Feedback
Released In: n/a
Target Release: n/a
Basic spec:
-
| MyList | list+checkbox | | a, b, c|
which will call on Foswiki::Form::Checkbox
to render the field. If a MyList
field contains a, b
then this should create %META:LISTITEM{name="..." key="MyList" value="a" seq="1"}%
%META:LISTITEM{name="..." key="MyList" value="b" seq="2"}%
Then we can
%SEARCH{
"listitems[key='MyList' AND value='b']"
type="query"
}%
This is vastly more efficient for
MongoDBPlugin (and any other QuerySearch back-end using indexes).
4.8s to render a page querying 52,387 topics similar to
%SEARCH{"MyList~'*a*'" type="query}%
.
1.02s to render the same page using
%SEARCH{"listitems[key='MyList' AND value='a']" type="query}%
.
--
PaulHarvey - 27 Jul 2011
Paul, what's the status on this. Is the extension releasable?
--
GeorgeClark - 24 Dec 2014