Page MenuHomePhabricator

Multi-value properties search doesn't work as expected.
Closed, InvalidPublic

Description

Author: z.pekar

Description:
Add following to the Main page:

[[Area(Height, Length)::3;2;1 | ]]
[[Area(Height, Length)::7;2;1 | ]]

(Area(Height, Length) of type Number, Number, Number)

query:
[[Area(Height, Length)::>4;2;1]]
[[Area(Height, Length)::<6;2;1]]

Main page is shown as search result even though neither 3 nor 7 is inside of [4..6].


Version: unspecified
Severity: major

Details

Reference
bz22360

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:49 PM
bzimport set Reference to bz22360.

SMW queries ask for the existence of a value with a certain condition, and having two parts in a query asks for the existence of two values that meet the given conditions. There is no way to combine conditions on a single value explicitly, but maybe hooks for extending the query conditions in such a way will be added in some future. In any case, the above will remain the intendend and correct behaviour for SMW.