ES doesn't work with rexster gremlin extension


(Aaliyah) #1

the problem is like the topic. I'm not sure if I misunderstood something or
I missed some configurations. The ES works fine in usual situations, but
doesn't work with rexster gremlin extension.

In java, I configured the graph as follows:

https://lh3.googleusercontent.com/-kd6vKDQdH6g/U7RbYPE-ciI/AAAAAAAAAHk/sSU5e5R3DMM/s1600/1.PNG

https://lh3.googleusercontent.com/-9HiEPJmS1FQ/U7Rbjmg4oCI/AAAAAAAAAHs/2FgdAtjiBHc/s1600/2.PNG

In the extension, I wrote:

*String query = "v." + propKey + ": (" + propValue + ")"; *

if(((TitanGraph) graph).indexQuery("search",
query).vertices().iterator().hasNext()){...}

When I invoked the extension, the rexster told: null pointer exception,
unknown index, etc. As follows:

https://lh4.googleusercontent.com/-I0w-hVgu0F0/U7RdQCcjOZI/AAAAAAAAAH4/4l13192eR2k/s1600/3.PNG

https://lh3.googleusercontent.com/-phHCRqzQN6I/U7RdUkyE8oI/AAAAAAAAAIA/rhkTlffd8lI/s1600/4.PNG

After this, I searched some advices from google and made some
configurations in rexster.xml

https://lh4.googleusercontent.com/-_6zRCaQtvRw/U7ReJ41k4jI/AAAAAAAAAIQ/Nwgon5WqPtU/s1600/6.PNG

Then, the problems seemed as another way. (As you can see, first_example is
the name of the graph.)

https://lh5.googleusercontent.com/-r8TvH5CxjqA/U7Rfb9NFNEI/AAAAAAAAAIs/epemSCk5-8c/s1600/8.PNG

Besides, when I invoked the extension, I've been told: the graph is
non-configured.

https://lh4.googleusercontent.com/-uPWbHmgKL28/U7RfO3PoVlI/AAAAAAAAAIk/6ndP888fGYA/s1600/7.PNG

I've also tried the embedded mode. The problems seem to be the same.

Plus, I'm using:

Titan 0.4.2

Tinkerpop 0.2.4

Cassandra 2.0.7

ElasticSearch 1.2.1

This problem's driving me crazy. Any pointer would be appreciated! Thanks
in advance!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1a915c28-dd2f-4b72-b640-0fd8f9961c8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Aaliyah) #2

Nobody has some idea?

在 2014年7月2日星期三UTC+2下午9时41分52秒,Aaliyah写道:

the problem is like the topic. I'm not sure if I misunderstood something
or I missed some configurations. The ES works fine in usual situations, but
doesn't work with rexster gremlin extension.

In java, I configured the graph as follows:

https://lh3.googleusercontent.com/-kd6vKDQdH6g/U7RbYPE-ciI/AAAAAAAAAHk/sSU5e5R3DMM/s1600/1.PNG

https://lh3.googleusercontent.com/-9HiEPJmS1FQ/U7Rbjmg4oCI/AAAAAAAAAHs/2FgdAtjiBHc/s1600/2.PNG

In the extension, I wrote:

*String query = "v." + propKey + ": (" + propValue + ")"; *

if(((TitanGraph) graph).indexQuery("search",
query).vertices().iterator().hasNext()){...}

When I invoked the extension, the rexster told: null pointer exception,
unknown index, etc. As follows:

https://lh4.googleusercontent.com/-I0w-hVgu0F0/U7RdQCcjOZI/AAAAAAAAAH4/4l13192eR2k/s1600/3.PNG

https://lh3.googleusercontent.com/-phHCRqzQN6I/U7RdUkyE8oI/AAAAAAAAAIA/rhkTlffd8lI/s1600/4.PNG

After this, I searched some advices from google and made some
configurations in rexster.xml

https://lh4.googleusercontent.com/-_6zRCaQtvRw/U7ReJ41k4jI/AAAAAAAAAIQ/Nwgon5WqPtU/s1600/6.PNG

Then, the problems seemed as another way. (As you can see, first_example
is the name of the graph.)

https://lh5.googleusercontent.com/-r8TvH5CxjqA/U7Rfb9NFNEI/AAAAAAAAAIs/epemSCk5-8c/s1600/8.PNG

Besides, when I invoked the extension, I've been told: the graph is
non-configured.

https://lh4.googleusercontent.com/-uPWbHmgKL28/U7RfO3PoVlI/AAAAAAAAAIk/6ndP888fGYA/s1600/7.PNG

I've also tried the embedded mode. The problems seem to be the same.

Plus, I'm using:

Titan 0.4.2

Tinkerpop 0.2.4

Cassandra 2.0.7

ElasticSearch 1.2.1

This problem's driving me crazy. Any pointer would be appreciated! Thanks
in advance!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/90b0b3a6-1ffd-4161-84b6-e56bda649b1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3