Commit 8487712e authored by Jean-Paul Smets's avatar Jean-Paul Smets

Extended parameters (maybe useful)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10033 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88aede74
...@@ -8,6 +8,8 @@ class_name: ...@@ -8,6 +8,8 @@ class_name:
class_file: class_file:
</dtml-comment> </dtml-comment>
<params>uid <params>uid
PrincipiaSearchSource
SearchableText
Title Title
start start
end end
...@@ -20,6 +22,8 @@ INSERT INTO ...@@ -20,6 +22,8 @@ INSERT INTO
cps cps
SET SET
uid = <dtml-sqlvar uid type="int">, uid = <dtml-sqlvar uid type="int">,
PrincipiaSearchSource=<dtml-sqlvar PrincipiaSearchSource type="string">,
SearchableText=<dtml-sqlvar SearchableText type="string">,
ZCTitle = <dtml-sqlvar Title type="string">, ZCTitle = <dtml-sqlvar Title type="string">,
start = <dtml-sqlvar start type="string">, start = <dtml-sqlvar start type="string">,
end = <dtml-sqlvar end type="string">, end = <dtml-sqlvar end type="string">,
......
...@@ -22,6 +22,8 @@ CREATE TABLE `cps` ( ...@@ -22,6 +22,8 @@ CREATE TABLE `cps` (
`time` datetime default '0000-00-00 00:00:00', `time` datetime default '0000-00-00 00:00:00',
`relative_path_depth` int(11) default NULL, `relative_path_depth` int(11) default NULL,
`container_path` varchar(255) default NULL, `container_path` varchar(255) default NULL,
`PrincipiaSearchSource` text,
`SearchableText` text,
KEY (`uid`), KEY (`uid`),
KEY `start` (`start`), KEY `start` (`start`),
KEY `leaves` (`leaves`), KEY `leaves` (`leaves`),
...@@ -29,5 +31,8 @@ CREATE TABLE `cps` ( ...@@ -29,5 +31,8 @@ CREATE TABLE `cps` (
KEY `time` (`time`), KEY `time` (`time`),
KEY `searchable` (`searchable`), KEY `searchable` (`searchable`),
KEY `end` (`end`), KEY `end` (`end`),
KEY `container_path` (`container_path`) KEY `container_path` (`container_path`),
) TYPE=InnoDB; FULLTEXT KEY `PrincipiaSearchSource` (`PrincipiaSearchSource`),
FULLTEXT KEY `SearchableText` (`SearchableText`),
FULLTEXT KEY `ZCTitle` (`ZCTitle`)
) TYPE=MyISAM;
...@@ -8,6 +8,8 @@ class_name: ...@@ -8,6 +8,8 @@ class_name:
class_file: class_file:
</dtml-comment> </dtml-comment>
<params>uid <params>uid
PrincipiaSearchSource
SearchableText
Title Title
start start
end end
...@@ -19,6 +21,8 @@ getPhysicalPath</params> ...@@ -19,6 +21,8 @@ getPhysicalPath</params>
UPDATE UPDATE
cps cps
SET SET
PrincipiaSearchSource=<dtml-sqlvar PrincipiaSearchSource type="string">,
SearchableText=<dtml-sqlvar SearchableText type="string">,
ZCTitle = <dtml-sqlvar Title type="string">, ZCTitle = <dtml-sqlvar Title type="string">,
start = <dtml-sqlvar start type="string">, start = <dtml-sqlvar start type="string">,
end = <dtml-sqlvar end type="string">, end = <dtml-sqlvar end type="string">,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment