Open GoogleCodeExporter opened 9 years ago
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
Original comment by dp.max...@gmail.com
on 3 May 2009 at 12:11
Original issue reported on code.google.com by
amitshar...@gmail.com
on 18 Aug 2008 at 1:09