Updates:
Status: Started
Owner: dp.maxime
Labels: -Type-Defect Type-Enhancement
Comment #1 on issue 5 by dp.maxime: Enhancement: User defined plugins.
http://code.google.com/p/dataparksearch/issues/detail?id=5
In the latest snapshot of 4.53 version the Limit command has been extended
so it can
accept a SQL query which return possible pairs of limit value and
url.rec_id.
E.g.
Limit prm:strcrc32 "SELECT label, rec_id FROM labels"
pgsql://u:p@database.ext/site/
The third parameter (DBAddr) is optional, used to specify a connection to
an another
SQL-database where limit table resides.
prm - is the name of limit and the name of CGI-parameter is used for this
limit
strcrc32 - is the type of limit, particularly this limit value is a string.
Instead of strcrc32 is possible to use any of the following limit types:
hex8str - hex string or base-26 string similar to those used in categories,
and the
nested limit will be created;
int - integer value (4 byte integer).
In serach.htm and searchd.conf configuration files it's possible to specify
reduced
variant of such Limit command:
Limit prm:strcrc32
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings