Author: d3mon
Description:
When performing #ask queries like the one below, searched text is not matched on the o_blob field:
{{#ask: [[Property::~*Some text*]]
?Something |
format=table |
}}
Properties that go over the 72 character length listed in
SMW_DIHandler_String.php are split, so the end of the text gets changed in o_hash, and the full text is registered in o_blob. The Problem is, #ask only seems to be matching on text in the o_hash column. If I change the 72
character limit to something like 200 characters, the ask function matches
just fine. I figure there's probably a better solution, or fix, than that
though? If not, then would it hurt performance changing it to a
varchar(400) with 400 character limit on o_hash, or is it just a disk space
thing? I have a property which consists of a long string of keywords, and need the ability to match on any part of that string. Thanks!
Version: unspecified
Severity: enhancement