Graph databases Titan db 1.0:Tinkerpop3在查询地理谓词后获取索引警告
我正在使用titan 1.0 db和基于外部索引的地理谓词(elasticsearch): 据我所知,有三种可能:不相交、内部、相交 当我在/geoinsin内执行时,不会出现任何警告Graph databases Titan db 1.0:Tinkerpop3在查询地理谓词后获取索引警告,graph-databases,titan,gremlin,tinkerpop,tinkerpop3,Graph Databases,Titan,Gremlin,Tinkerpop,Tinkerpop3,我正在使用titan 1.0 db和基于外部索引的地理谓词(elasticsearch): 据我所知,有三种可能:不相交、内部、相交 当我在/geoinsin内执行时,不会出现任何警告 g.V().has(STORY_LOCATION, geoWithin(circle)); 但当调用GEO DISJOINT时: g.V().has(STORY_LOCATION, geoDisjoint(circle)); 我收到了索引警告 WARNING: Query requires iterati
g.V().has(STORY_LOCATION, geoWithin(circle));
但当调用GEO DISJOINT时:
g.V().has(STORY_LOCATION, geoDisjoint(circle));
我收到了索引警告
WARNING: Query requires iterating over all vertices [(storyLocation disjoint circle[30.0,30.0]:5000.0)]. For better performance, use indexes
我试图了解GeoInner与geoDisjoint在索引问题上的区别
P.S:
index configuration:
PropertyKey storyLocation = createPropertyKey(tm, STORY_LOCATION, Geoshape.class, Cardinality.SINGLE);
tm.buildIndex(indexName, TitanVertex.class).addKey(storyLocation).buildMixedIndex("search")
据我所知,
geoinsin
是唯一可以使用索引的谓词,其他的都是完整扫描。我想这是由搜索后端决定的技术限制。据我所知,geoinsin
是唯一可以使用索引的谓词,所有其他都是完整扫描。我想这是由搜索后端决定的技术限制