https://bugzilla.wikimedia.org/show_bug.cgi?id=57151
Web browser: ---
Bug ID: 57151
Summary: Allow matching #ask strings with a length > 72
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Semantic MediaWiki
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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!
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l