diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.catalog_keys.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..a540f9431e9c394244ed71562b197938e6fe9258 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.xml new file mode 100644 index 0000000000000000000000000000000000000000..d081c0d1219e85f95e2b490a1268b38c84dab1a7 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.xml @@ -0,0 +1,131 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>from Products.ZSQLCatalog.SQLCatalog import Query\n +\n +# XXX Should we use system preference here?\n +if \'sphinxse_index\' in container.getCatalogSearchTableIds():\n + query = Query(**{\'sphinxse_query\':value})\n +else:\n + query = Query(**{\'full_text.SearchableText\':value})\n +return query\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>value</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>value</string> + <string>Products.ZSQLCatalog.SQLCatalog</string> + <string>Query</string> + <string>_getattr_</string> + <string>container</string> + <string>_apply_</string> + <string>query</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SQLCatalog_makeFullTextQuery</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.catalog_keys.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..a540f9431e9c394244ed71562b197938e6fe9258 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..392eebaa1c18d5b3430117e22bb9d5b7232f5807 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_sphinxse_index.xml @@ -0,0 +1,138 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z0_drop_sphinxse_index</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE IF EXISTS sphinxse_index</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE IF EXISTS sphinxse_index</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.catalog_keys.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..d29d36d9f07b76c1a31ae6bec739102b93101efd --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_uncatalog_object" type="int"> + <value>1</value> + </item> +</catalog_method> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..884cfe549874832efdd678b5a3d802b87f4a21a2 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_sphinxse_index.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> + <string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>sphinx_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z0_uncatalog_sphinxse_index</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +DELETE FROM <dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))"> WHERE id=<dtml-sqlvar expr="uid" type=int>\n +</dtml-let>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +DELETE FROM <dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))"> WHERE id=<dtml-sqlvar expr="uid" type=int>\n +</dtml-let>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.catalog_keys.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..c95a68655e4b28b9b03081ca25caf201b2237d18 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_catalog_object_list" type="int"> + <value>1</value> + </item> +</catalog_method> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..afcaaee3a5139711dd1566db851b7190f27d3e45 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_sphinxse_index_list.xml @@ -0,0 +1,190 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>SearchableText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> + <string>uid</string> + <string>SearchableText</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +SearchableText\r\n +</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>sphinx_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_catalog_sphinxse_index_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +REPLACE INTO\n + <dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))">\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="SearchableText[loop_item] or \'\'" type="string">\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n +</dtml-let>\n +</dtml-let> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +REPLACE INTO\n + <dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))">\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="SearchableText[loop_item] or \'\'" type="string">\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n +</dtml-let>\n +</dtml-let> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.catalog_keys.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..a540f9431e9c394244ed71562b197938e6fe9258 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..a0226dca88f311e32ac37af0aba65a3a416cc125 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_sphinxse_index.xml @@ -0,0 +1,166 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_create_sphinxse_index</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +CREATE TABLE `sphinxse_index` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `weight` INTEGER NOT NULL,\n + `sphinxse_query` VARCHAR(3072) NOT NULL,\n + INDEX(sphinxse_query)\n +) ENGINE=SPHINX CONNECTION=\'sphinx://<dtml-var expr="getattr(catalog, \'sphinx_address\', getattr(portal, \'sphinx_address\', \'127.0.0.1\'))">:<dtml-var expr="getattr(catalog, \'sphinx_port\', getattr(portal, \'sphinx_port\', 9312))">/<dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))">\'\n +</dtml-let>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let portal="getPortalObject()">\n +<dtml-let catalog="portal.portal_catalog.getSQLCatalog(getId())">\n +CREATE TABLE `sphinxse_index` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `weight` INTEGER NOT NULL,\n + `sphinxse_query` VARCHAR(3072) NOT NULL,\n + INDEX(sphinxse_query)\n +) ENGINE=SPHINX CONNECTION=\'sphinx://<dtml-var expr="getattr(catalog, \'sphinx_address\', getattr(portal, \'sphinx_address\', \'127.0.0.1\'))">:<dtml-var expr="getattr(catalog, \'sphinx_port\', getattr(portal, \'sphinx_port\', 9312))">/<dtml-var expr="getattr(catalog, \'sphinx_index\', getattr(portal, \'sphinx_index\', \'erp5\'))">\'\n +</dtml-let>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogResultTableTemplateItem/result_table_list.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogResultTableTemplateItem/result_table_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..4dab8af34b928dcc5985753df3bc6281ac21eba5 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogResultTableTemplateItem/result_table_list.xml @@ -0,0 +1,3 @@ +<key_list> + <key>sphinxse_index</key> +</key_list> \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/CatalogScriptableKeyTemplateItem/scriptable_key_list.xml b/bt5/erp5_full_text_sphinxse_catalog/CatalogScriptableKeyTemplateItem/scriptable_key_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..32208203186764dbd1205c82bf2d5213419fa268 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/CatalogScriptableKeyTemplateItem/scriptable_key_list.xml @@ -0,0 +1,3 @@ +<key_list> + <key>full_text | SQLCatalog_makeFullTextQuery</key> +</key_list> \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse.xml b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse.xml new file mode 100644 index 0000000000000000000000000000000000000000..66f315e9184af9bda7b2885019239d4fb1675e4b --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Folder" module="OFS.Folder"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>business_template_skin_layer_priority</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>float</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>business_template_skin_layer_priority</string> </key> + <value> <float>10.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_sphinxse</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_reindexSphinxSE.xml b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_reindexSphinxSE.xml new file mode 100644 index 0000000000000000000000000000000000000000..c5bc235b12bcdaa26f1de658a9a91dc303b06b87 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_reindexSphinxSE.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>portal_catalog = context.portal_catalog\n +sql_catalog = portal_catalog.getSQLCatalog(sql_catalog_id)\n +\n +LIMIT = 10\n +\n +i = 0\n +while True:\n + full_text_list = portal_catalog(select_list=(\'full_text.SearchableText\',), limit=(i*LIMIT, LIMIT))\n + if len(full_text_list) == 0:\n + break\n + object_list = [dict(uid=x.getUid(), SearchableText=x.getSearchableText()) for x in full_text_list]\n + parameter_dict = {}\n + for x in object_list:\n + for property in (\'uid\', \'SearchableText\'):\n + parameter_dict.setdefault(property, []).append(x[property])\n + sql_catalog.z_catalog_sphinxse_index_list(**parameter_dict)\n + print \'Indexing %s documents...\' % (i*LIMIT + len(full_text_list))\n + i += 1\n +print \'Done.\'\n +return printed\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>sql_catalog_id=None</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>sql_catalog_id</string> + <string>_print_</string> + <string>_print</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_catalog</string> + <string>sql_catalog</string> + <string>LIMIT</string> + <string>i</string> + <string>True</string> + <string>full_text_list</string> + <string>len</string> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>x</string> + <string>dict</string> + <string>object_list</string> + <string>parameter_dict</string> + <string>property</string> + <string>_getitem_</string> + <string>_apply_</string> + <string>_inplacevar_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_reindexSphinxSE</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_viewQuickSearchResultList.xml b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_viewQuickSearchResultList.xml new file mode 100644 index 0000000000000000000000000000000000000000..3f934de5b2082d2c6fda809cb3999c2499e407fe --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/SkinTemplateItem/portal_skins/erp5_sphinxse/ERP5Site_viewQuickSearchResultList.xml @@ -0,0 +1,166 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>kw = {\'reset\':1,\n + \'full_text\':field_your_search_text,\n + \'your_search_text\':field_your_search_text,\n + \'all_languages\':all_languages,\n + \'ignore_hide_rows\': 1,\n + \'list_style\':list_style}\n +\n +if field_your_search_portal_type:\n + if field_your_search_portal_type == \'all\':\n + kw.update({\'portal_type\':list(context.getPortalDocumentTypeList())})\n + else:\n + kw.update({\'portal_type\':field_your_search_portal_type})\n +\n +web_section = context.getWebSectionValue()\n +if web_section is not None and \\\n + not bool(context.REQUEST.get(\'ignore_layout\', False)):\n + search_context = web_section\n + if list_style is None:\n + kw.update({\'list_style\':\'search\'})\n +else:\n + search_context = context.getPortalObject()\n +\n +if field_your_search_text in (\'\', None):\n + # no search criteria specified, refuse to conduct any search and \n + # show a message to user\n + kw[\'portal_status_message\'] = \'Please specify search criteria.\'\n + return search_context.Base_redirect(\'view\', keep_items=kw)\n + \n +return search_context.Base_redirect(field_your_search_form_id, keep_items=kw)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>field_your_search_text=\'\', field_your_search_portal_type=\'\', all_languages=None, list_style=None, field_your_search_form_id=\'ERP5Site_viewSearchResult\'</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>5</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>field_your_search_text</string> + <string>field_your_search_portal_type</string> + <string>all_languages</string> + <string>list_style</string> + <string>field_your_search_form_id</string> + <string>kw</string> + <string>_getattr_</string> + <string>list</string> + <string>context</string> + <string>web_section</string> + <string>None</string> + <string>bool</string> + <string>False</string> + <string>search_context</string> + <string>_write_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <string></string> + <string></string> + <none/> + <none/> + <string>ERP5Site_viewSearchResult</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_viewQuickSearchResultList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/categories_list b/bt5/erp5_full_text_sphinxse_catalog/bt/categories_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/change_log b/bt5/erp5_full_text_sphinxse_catalog/bt/change_log new file mode 100644 index 0000000000000000000000000000000000000000..b332b726701c9f477e73e7915eb42f3ec0c1d2a7 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/change_log @@ -0,0 +1,2 @@ +2010-08-19 Kazuhiko +* initial commit \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/comment b/bt5/erp5_full_text_sphinxse_catalog/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/copyright_list b/bt5/erp5_full_text_sphinxse_catalog/bt/copyright_list new file mode 100644 index 0000000000000000000000000000000000000000..fe948b9fb7c242ba7403410bb05d78ca4343c414 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/copyright_list @@ -0,0 +1 @@ +Copyright (c) 2010 Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/dependency_list b/bt5/erp5_full_text_sphinxse_catalog/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/description b/bt5/erp5_full_text_sphinxse_catalog/bt/description new file mode 100644 index 0000000000000000000000000000000000000000..f901a2ac02a922eaa85bf433d41447b9af783ef0 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/description @@ -0,0 +1 @@ +Contains all SQL methods, scripts etc. that are required to use Sphinx Search Engine with MySQL. \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/license b/bt5/erp5_full_text_sphinxse_catalog/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/maintainer_list b/bt5/erp5_full_text_sphinxse_catalog/bt/maintainer_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/provision_list b/bt5/erp5_full_text_sphinxse_catalog/bt/provision_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/publication_url b/bt5/erp5_full_text_sphinxse_catalog/bt/publication_url new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/publication_url @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/revision b/bt5/erp5_full_text_sphinxse_catalog/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/revision @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_action_path_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_action_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_base_category_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_datetime_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_full_text_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_full_text_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_keyword_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_keyword_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_local_role_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_local_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_method_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_method_id_list new file mode 100644 index 0000000000000000000000000000000000000000..d2fb92c79ab2e6b7337e71867b995e8c86652d20 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_method_id_list @@ -0,0 +1,5 @@ +erp5_mysql_innodb/SQLCatalog_makeFullTextQuery +erp5_mysql_innodb/z0_drop_sphinxse_index +erp5_mysql_innodb/z0_uncatalog_sphinxse_index +erp5_mysql_innodb/z_catalog_sphinxse_index_list +erp5_mysql_innodb/z_create_sphinxse_index \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_multivalue_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_multivalue_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_related_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_related_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_request_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_request_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_result_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_result_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_result_table_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_result_table_list new file mode 100644 index 0000000000000000000000000000000000000000..2bf835669c1e210cb3862774d5467102d5ef8969 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_result_table_list @@ -0,0 +1 @@ +sphinxse_index \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_role_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_scriptable_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000000000000000000000000000000000..d0aa506d2623c2a959a075db200fe93816dd3f5e --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_scriptable_key_list @@ -0,0 +1 @@ +full_text | SQLCatalog_makeFullTextQuery \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_search_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_search_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_topic_key_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_catalog_topic_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_constraint_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_constraint_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_document_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_document_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_extension_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_extension_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_format_version b/bt5/erp5_full_text_sphinxse_catalog/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_local_role_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_local_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_local_roles_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_local_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_message_translation_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_message_translation_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_module_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_module_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_path_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_base_category_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_hidden_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_property_sheet_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_property_sheet_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_role_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_roles_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_workflow_chain_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_preference_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_preference_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_product_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_product_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_property_sheet_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_property_sheet_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_registered_skin_selection_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_registered_skin_selection_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_role_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_site_property_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_site_property_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_skin_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_skin_id_list new file mode 100644 index 0000000000000000000000000000000000000000..f7de2c1f0fec30e17eaf012f82d24e65b6357da1 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_sphinxse \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_test_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_tool_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_business_template_workflow b/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_business_template_workflow new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_business_template_workflow @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_tool b/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_tool new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/template_update_tool @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/template_workflow_id_list b/bt5/erp5_full_text_sphinxse_catalog/bt/template_workflow_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/title b/bt5/erp5_full_text_sphinxse_catalog/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..0f55889c59bc569980202309fc12b0a105240430 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/title @@ -0,0 +1 @@ +erp5_full_text_sphinxse_catalog \ No newline at end of file diff --git a/bt5/erp5_full_text_sphinxse_catalog/bt/version b/bt5/erp5_full_text_sphinxse_catalog/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..cad6b7af839f31ba5d39eb403bc30bc5768d1285 --- /dev/null +++ b/bt5/erp5_full_text_sphinxse_catalog/bt/version @@ -0,0 +1 @@ +5.4.6 \ No newline at end of file