Skip to content

Instantly share code, notes, and snippets.

HTTP Status 500 - Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /var/lib/neo4j-community-2.1.7/data/graph.db
type Exception report
message Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /var/lib/neo4j-community-2.1.7/data/graph.db
description The server encountered an internal error that prevented it from fulfilling this request.
exception
curl -XGET 'http://localhost:9200/ninja/interests/_search?pretty=true' -d '
{
"query":{
"query_string":{"query":"entrepreneurs"}
},
"highlight" : {
"fields" : {
"name":{}
}
}
curl -XGET 'http://localhost:9200/ninja/interests/_search?pretty=true' -d '
{
"query":{
"query_string":{"query":"entreprene"}
},
"highlight" : {
"fields" : {
"name":{}
}
}
curl -XGET 'http://localhost:9200/ninja/interests/_search?pretty=true' -d '
{
"query":{
"query_string":{"query":"entrep"}
},
"highlight" : {
"fields" : {
"name":{}
}
}
curl -XGET 'http://localhost:9200/ninja/interests/_search?pretty=true' -d '
{
"query":{
"query_string":{"query":"bas"}
},
"highlight" : {
"fields" : {
"name":{}
}
}
curl -XGET 'http://localhost:9200/ninja/interests/_search?pretty=true' -d '
{
"query":{
"query_string":{"query":"trek"}
},
"highlight" : {
"fields" : {
"name":{}
}
}
curl -XPUT localhost:9200/ninja -d '
{
"settings" : {
"analysis" : {
"filter": {
"mynGram" : {"type": "nGram", "min_gram": 2, "max_gram": 10}
},
"analyzer" : {
"stem" : {
"tokenizer" : "standard",
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 15,
"active_shards" : 15,
"relocating_shards" : 0,