The reason is a complete refactoring of the query processor such that logic can be shared between graphquery and vertexquery.
What issues are you experiencing?
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/4ceb74f2-fb57-49a9-97f9-f95d92a1b1c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/CAEsQWxoDd5ORuonTDp1UEtQ_dRTn3g-SWxQr%3Dr3kKo0y3kxPXQ%40mail.gmail.com.
Ah, that sounds complicated. Unfortunately I don't know Scala well enough to comment on this in a productive manner.
However, what we did on the java side doesn't strike me as too crazy - anybody else having an idea?
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/CAP%2BbOhym%3DhL2Z-awbFN5vgYzf%2Bj5Yfz8GCXEm2LG5W8cNL36nw%40mail.gmail.com.
Hi,
I'm also not very well-versed in Scala, but I have a couple of observations.
This even more trivial version of your example doesn't compile either:
// g is declared as type TitanGraph, attrs as Map[String, Any]
attrs.foldLeft(g.query()) ({ case (q, _) => q })
But when I tweak your example as shown below, it compiles. The existentials import is not strictly necessary -- it just provides forward-compatibility and suppresses a warning. I've read SIP-18 and some pieces about self-referential and existential types in Scala, but I still don't think I fully understand what's going on here.
...
import com.thinkaurelius.titan.core.TitanGraphQuery
import scala.language.existentials
...
val q: TitanGraphQuery[_] = g.query()
val attrQ = attrs.foldLeft(q) ({
case (q, (name, value)) => q.has(name, value)
})
A practical alternative in this particular case is just to foreach the map instead of folding, but I realize that's just a workaround.
thanks,
Dan
On 08/15/2014 10:01 PM, Matthias Broecheler wrote:
Ah, that sounds complicated. Unfortunately I don't know Scala well
enough to comment on this in a productive manner.
However, what we did on the java side doesn't strike me as too crazy -
anybody else having an idea?
On Aug 16, 2014 2:07 AM, "Damir Vandic" <d.va...@ontostream.com
<mailto:d.vandic@ontostream.com>> wrote:<https://issues.scala-lang.org/browse/SI-6255> is plaguing the scala
Ah I see, thanks.
As for my problem, I've set up a repo that demonstrates my compile
error: https://github.com/damirv/recursive-wildcards-scala
Also, I've asked around in the scala-user mailing list:
https://groups.google.com/forum/#!topic/scala-user/fBlyb3-Y0Zk
Summarizing: It's unclear to me what the correct Scala type of
TitanGraph#query() must be in order to have TitanGraphQuery#has()
methods be compatible with it. It seems that I have to use a
recursive existential type, for which by the way a bug
compiler.
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraphs+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/53EF26D1.7090802%40thinkaurelius.com.
Yes, we will probably move to 2.5.1 for the next minor version. The next major version of titan will be against tp3.
Awesome, what a release !One question, is this version still compatible with Tinkerpop 2.5 ?Thanks,Sam
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/5227ebcf-91b9-4f42-935d-f188c627b0d3%40googlegroups.com.
There is a page on configuration in general and rexster in particular. Please read those carefully. If you have additional questions , please post your config.
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/a5d96523-f3a3-4700-9247-0c968cc62b74%40googlegroups.com.
Are you using the right key space?
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/59c4363a-5e87-48f5-b9a2-bd53e04c3f66%40googlegroups.com.
We decided to go jre 1.7 for this release since tp3 will require java 8. Do you require java 6. Why? (If you don't mind me asking)
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/0707aa59-da35-4b6c-abff-dc7ccbd36523%40googlegroups.com.
Thanks for the explanation, Samuel. I don't readily see what's wrong in the 2nd case. Also, note that titan 05 has a configuration builder in the TitanFactory making configuration in the shell much less painful.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/0eda04a2-8b31-494f-afcf-eb6ff994fc62%40googlegroups.com.
storage.cassandra.keyspace=genvp5
gremlin> config.setProperty("storage.keyspace", "genvp5");
index.elastic.backend=elasticsearchindex.elastic.directory=db/esindex.elastic.client-only=falseindex.elastic.local-mode=true
gremlin> config.setProperty("storage.index.elastic.backend","elasticsearch");
gremlin> config.setProperty("storage.index.elastic.directory","db/es");
gremlin> config.setProperty("storage.index.elastic.client-only","false");
gremlin> config.setProperty("storage.index.elastic.local-mode","true");
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/35080351-26db-4ca7-ada4-684692187f15%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Aurelius" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aureliusgraphs/29O1wZY6Bxs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aureliusgraph...@googlegroups.com.
Hey, given the amount if new features we expect there will be bugs in this release but are determined to fix those quickly with a short turn around. So far, nothing major has come up (knock on wood). We do expect that this release will remain compatibility with future releases on the data storage, however, the query API will change a lot with the adoption of TP3 for the 1.0 release.
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/42c2b790-9537-4c63-af21-074605e0aa76%40googlegroups.com.