[
https://issues.apache.org/jira/browse/TINKERPOP-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105197#comment-15105197
]
Daniel Kuppitz commented on TINKERPOP-1087:
-------------------------------------------
That has always been part of {{FilterRankStrategy}}:
{noformat}
gremlin> g = TinkerFactory.createModern().traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().order().by(outE().count(),
decr).has("foo","bar").values("name").toString()
==>[GraphStep([],vertex), OrderGlobalStep([decr([VertexStep(OUT,edge),
CountGlobalStep])]), HasStep([foo.eq(bar)]), PropertiesStep([name],value)]
gremlin> g.V().order().by(outE().count(),
decr).has("foo","bar").values("name").iterate().toString()
==>[TinkerGraphStep(vertex,[foo.eq(bar)]),
OrderGlobalStep([decr([VertexStep(OUT,edge), CountGlobalStep])]),
PropertiesStep([name],value)]
{noformat}
Also see the
[JavaDoc|http://tinkerpop.apache.org/javadocs/3.1.0-incubating/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/FilterRankingStrategy.html]
that points out some limitations. However, the author of the slides is talking
about Titan, hence his TinkerPop version is 3.0.1, but the
{{FilterRankStrategy}} was introduced in 3.1.0.
> Add has()/order() to FilterRankStrategy
> ---------------------------------------
>
> Key: TINKERPOP-1087
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1087
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.1.0-incubating
> Reporter: Marko A. Rodriguez
> Assignee: Daniel Kuppitz
> Fix For: 3.1.1-incubating
>
>
> Does this make sense to add to {{FilterRankStrategy}} ?
> http://www.slideshare.net/NakulJeirath/addressing-performance-issues-in-titancassandra/19
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)