Item10276: regex search for /.*/ produces high load un-necessarily
Priority: Normal
Current State: Being Worked On
Released In: n/a
Target Release: n/a
in
MongoDBPlugin, a legacy search for all topics makes alot of work for a nop.
eg
Fri Jan 21 14:28:14 [conn1] query foswiki.$cmd ntoreturn:1 command: { count: "current", query: { orderby: { TOPICINFO.date: -1 }, query: { _web: "Sandbox", _raw_text: /.*/i } } } reslen:64 11128ms
while I'm going to work around it in the
MongoDBPlugin impl, i wonder if the Query and Search Parsers shouldn't further simplify - reducing the work search algo implementors need to do.
--
SvenDowideit - 21 Jan 2011