# ES doesn't work with rexster gremlin extension

**URL:** <https://discuss.elastic.co/t/es-doesnt-work-with-rexster-gremlin-extension/18448>\
**Category:** Elasticsearch\
**Created:** [July 2, 2014, 7:41pm UTC](https://discuss.elastic.co/t/es-doesnt-work-with-rexster-gremlin-extension/18448 "2014-07-02T19:41:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [July 2, 2014, 7:41pm UTC](https://discuss.elastic.co/t/es-doesnt-work-with-rexster-gremlin-extension/18448/1 "2014-07-02T19:41:52Z")

</div>

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/-kd6vKDQdH6g/U7RbYPE-ciI/AAAAAAAAAHk/sSU5e5R3DMM/s1600/1.PNG)

[https://lh3.googleusercontent.com/-9HiEPJmS1FQ/U7Rbjmg4oCI/AAAAAAAAAHs/2FgdAtjiBHc/s1600/2.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://lh4.googleusercontent.com/-I0w-hVgu0F0/U7RdQCcjOZI/AAAAAAAAAH4/4l13192eR2k/s1600/3.PNG)

[https://lh3.googleusercontent.com/-phHCRqzQN6I/U7RdUkyE8oI/AAAAAAAAAIA/rhkTlffd8lI/s1600/4.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](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](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/1a915c28-dd2f-4b72-b640-0fd8f9961c8f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [July 3, 2014, 8:23am UTC](https://discuss.elastic.co/t/es-doesnt-work-with-rexster-gremlin-extension/18448/2 "2014-07-03T08:23:33Z")

</div>

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/-kd6vKDQdH6g/U7RbYPE-ciI/AAAAAAAAAHk/sSU5e5R3DMM/s1600/1.PNG)
> 
> [https://lh3.googleusercontent.com/-9HiEPJmS1FQ/U7Rbjmg4oCI/AAAAAAAAAHs/2FgdAtjiBHc/s1600/2.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://lh4.googleusercontent.com/-I0w-hVgu0F0/U7RdQCcjOZI/AAAAAAAAAH4/4l13192eR2k/s1600/3.PNG)
> 
> [https://lh3.googleusercontent.com/-phHCRqzQN6I/U7RdUkyE8oI/AAAAAAAAAIA/rhkTlffd8lI/s1600/4.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](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](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/90b0b3a6-1ffd-4161-84b6-e56bda649b1f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:18am UTC](https://discuss.elastic.co/t/es-doesnt-work-with-rexster-gremlin-extension/18448/3 "2017-07-06T01:18:12Z")

</div>

Closed on July 6, 2017, 1:18am UTC


