Commit 4682955a authored by Jérome Perrin's avatar Jérome Perrin

core: index component reference & text content in full text

Not a proper tool to search source code, but makes it possible to search
for source code in component.
parent e17f1b67
Pipeline #9796 failed with stage
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -71,6 +71,17 @@
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>id</string>
<string>description</string>
<string>reference</string>
<string>text_content</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
  • the funny thing is that some tests were doing

    self.assertEqual(portal_catalog(searchable_text="some search string that will not be in catalog"), [])

    but with this change the test component itself is found with this search string.

    I just ran test quickly when cloudooo was broken and I merged optimistically. I'll push a fix in a few minutes

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