Valentyn Kahamlyk created TINKERPOP-3176: --------------------------------------------
Summary: Шnconsistent operation of ternary boolean logics with multiproperties Key: TINKERPOP-3176 URL: https://issues.apache.org/jira/browse/TINKERPOP-3176 Project: TinkerPop Issue Type: Bug Components: process Affects Versions: 3.7.3 Reporter: Valentyn Kahamlyk The result of the search by vertices depends on the order of creating multi-properties. The reason is in the operation of ternary logics. result is correct when string property created first {code:java} gremlin> g.addV("test").property("p1", "test").property(list, "p1", 1) ==>v[23] gremlin> g.V().has("p1", TextP.containing("est")) ==>v[23]{code} but error if first property is not String {code:java} gremlin> g.addV("test").property("p1", 1).property(list, "p1", "test") ==>v[26] gremlin> g.V().has("p1", TextP.containing("est")) class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap'){code} -- This message was sent by Atlassian Jira (v8.20.10#820010)