Details
-
Type:
Sub-task
-
Status: Done
-
Priority:
Highest
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: BLAZEGRAPH_RELEASE_1_5_2
-
Component/s: Query Plan Generator
-
Labels:None
Description
Insert one triple into a blaze instance with the text index enabled:
<:s> <:p> "foo" .
Then run the following query:
select ?o ?d where { service bds:search { ?o bds:search "foo" . } values (?d) { (<:a>) (<:b>) (<:c>) } }
Results in:
Selection [ Bindings [o=foo,d=:a], Bindings [o=foo,d=:a], Bindings [o=foo,d=:a], Bindings [o=foo,d=:b], Bindings [o=foo,d=:b], Bindings [o=foo,d=:b], Bindings [o=foo,d=:c], Bindings [o=foo,d=:c], Bindings [o=foo,d=:c] ]
For some reason, two values gives you four results, three values gives you nine results, etc. We are getting a cross product.