javeme commented on issue #2163:
URL:
https://github.com/apache/incubator-hugegraph/issues/2163#issuecomment-1466323571
Thanks for your report.
Reproducible process:
```java
schema = graph.schema();
schema.propertyKey("age").asInt().ifNotExist().create();
schema.propertyKey("year").asInt().ifNotExist().create();
schema.vertexLabel("person").properties("age").nullableKeys("age").create();
schema.indexLabel("personbyage").onV("person").by("age").shard().ifNotExist().create();
schema.edgeLabel("knows").sourceLabel("person").targetLabel("person").properties("year").ifNotExist().create();
schema.edgeLabel("teach").sourceLabel("person").targetLabel("person").properties("year").ifNotExist().create();
Vertex person1 = g.addV("person").property("age", 12).next();
Vertex person2 = g.addV("person").property("age", 23).next();
Vertex person3 = g.addV("person").property("age", 24).next();
g.addE("knows").from(person2).to(person1).property("year", 1).next();
g.addE("teach").from(person3).to(person1).property("year", 2).next();
```
```java
import org.apache.hugegraph.traversal.optimize.HugeVertexStepStrategy
g.withoutStrategies(HugeVertexStepStrategy).E().bothV().not(__.inE('teach'))
g.withoutStrategies(LazyBarrierStrategy).E().bothV().not(__.inE('teach'))
g.withoutStrategies(LazyBarrierStrategy,HugeVertexStepStrategy).E().bothV().not(__.inE('teach'))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]