1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
search smallconstant { document smallconstant { } rank-profile my_profile { first-phase { expression: sum(my_tensor) } constants { my_tensor value: { {x:1,y:2}:1, {x:2,y:1}:2 } type: tensor(x{},y{}) } } } }