Item10053: Support fall-back to SEARCH when DBCacheContrib unavailable
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Will paste the patch here when ready.
--
PaulHarvey - 19 Nov 2010
Hello Michael,
Please review this very simple patch for the next version of the excellent
JQGridPlugin
--
PaulHarvey - 05 Feb 2011
New version of the patch sorts (more) correctly.
--
PaulHarvey - 08 Feb 2011
Paul, what's the github link to your branch of the plugin? You pasted it once on IRC but I can't find it anymore.
Ah got it
https://github.com/csirac2/JQGridPlugin ... strange search on github...
--
MichaelDaum - 10 Jun 2011
I think it's almost done, but there seems to be bug a in
SEARCH that means showpage="n" doesn't work.
--
PaulHarvey - 10 Jun 2011
Ah, and
edit="on"
is broken
--
PaulHarvey - 10 Jun 2011
And recently I broke it so that if you set a filter that produces zero results, you get invalid XML (stray
</literal>
tag)
--
PaulHarvey - 10 Jun 2011
I am now about to restructure the complete plugin. We will have independent connectors for dbcache, normal search, a generic topic connector as well as a solr connector. Also interesting: connectors to a real database, or attached xml or json documents.
The new parameter that you introduced
querytopic
has been renamed to
connector
to either be one of a connector ID as configured in LocalSite.cfg or an existing web.topic.
Other plugins will be able to register new grid connectors using an entry to LocalSite.cfg like this
$Foswiki::cfg{JQGridPlugin}{Connector}{solr} = 'Foswiki::Plugins::SolrPlugin::JQGridConnector';
made use of with a
%GRID{connector="solr"...}%
.
There are abstract classes for connectors to encapsulate the most common features. A connector must implement a method to
search
and to
save
content. There's a large group of connectors of course that all would use the same way to save native Foswiki content. These
inherit from a
FoswikiConnector
subclass that already comes with the appropriate
save
methods ... as far as they are implemented right now (needs improvement in its own).
--
MichaelDaum - 11 Jun 2011
Very cool
--
PaulHarvey - 11 Jun 2011