neo4j-elasticsearch | Neo4j ElasticSearch Integration | Graph Database library
kandi X-RAY | neo4j-elasticsearch Summary
kandi X-RAY | neo4j-elasticsearch Summary
Neo4j ElasticSearch Integration
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Connect to ElasticSearch
- Creates an async session strategy that will be sent to the server
- Creates a new HttpClientConfig for the given host name
- Returns the configuredest client object
- Performs the index operation
- Returns the JSON representation of a node
- Creates index requests for the given node
- Returns a map of delete requests for the given node
- Returns a string representation of the index
- Create a new ElasticSearch extension
- Handles an elasticsearch update
- Parse index spec string
- Disconnect from ElasticSearch
- Updates bulk actions
- Called when update fails
neo4j-elasticsearch Key Features
neo4j-elasticsearch Examples and Code Snippets
Community Discussions
Trending Discussions on neo4j-elasticsearch
QUESTION
I'm using neo4j-to-elasticsearch plugin in order to index in ES all of my Decision
nodes with the following configuration -
ANSWER
Answered 2018-Mar-18 at 18:55Yes it is definitely possible with Inclusion Policies, for your use case it would be like :
QUESTION
I'm going to integrate my Neo4j application with Elasticsearch. I'm going to try the following Neo4j plugin from GraphAware https://github.com/graphaware/neo4j-to-elasticsearch
Could you please tell does it support Neo4j 3.1.3 version? Also, what version of ES should be used there ? Does it support ES 5.3.0 for example ?
Right now I have installed Elasticsearch 5.3.0 locally. Also I have added 2 jars:
...ANSWER
Answered 2017-Apr-20 at 19:11It seems our documentation has been weird about the usage of the internal id as document id :
Replace this line :
com.graphaware.module.UIDM.uuidProperty=ID()
By this
com.graphaware.module.ES.keyProperty=ID()
However if you use the uuid module as well, it is best to use "uuid" instead of the internal ID
I tested on community 3.1.3 with the versions mentioned and it is working.
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" :{
"_index" : "neo4j-index-node",
"_type" : "Decision",
"_id" : "2",
"_score" : 1.0,
"_source":{"id":123,"title":"Ibiza"}
}, {
"_index" : "neo4j-index-node",
"_type" : "Decision",
"_id" : "3",
"_score" : 1.0,
"_source":{"id":123,"title":"Weird Decision"}
} ]
}
}
If your nodes have both labels Decision and Votable, then you have to exclude them in the configuration like this :
com.graphaware.module.ES.node=hasLabel('Decision') && !hasLabel('Votable') && !hasLabel('BaseEntity')
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install neo4j-elasticsearch
You can use neo4j-elasticsearch like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the neo4j-elasticsearch component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page