graph-aided-search-demo's People
graph-aided-search-demo's Issues
index not found error
Error running following
curl -XPUT "http://localhost:9200/neo4j-index/_settings?index.gas.neo4j.hostname=http://localhost:7474&index.gas.enable=true"
Error:
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"neo4j-index","index":"neo4j-index"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"neo4j-index","index":"neo4j-index"},"status":404}
Can't find csv file
Hi:
I am following the README but when it gets to the point to import the movie data files:-
USING PERIODIC COMMIT 500
LOAD CSV FROM "file:///u.user" AS line FIELDTERMINATOR '|'
CREATE (:User {objectId: toInt(line[0]), age: toInt(line[1]), gender: line[2], occupation: line[3]});
I get "Couldn't load the external resource at: file:/data/import/u.user" and there are no files present in the the neo4j container at "/data/import". Which files are you referring to?
Thanks
queries are not returning results
curl -H "Content-Type: application/json" -XPOST "localhost:9200/neo4j-index/Movie/_search?pretty" --data-binary "@03_exclude_already_rated.json"
this command returns, { "took" : 7, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 0, "max_score" : null, "hits" : [ ] } }
same is happening for all the three queries.
curl -X GET "localhost:9200/_cat/indices?v"
output is,
yellow open neo4j-index 5 1 0 0 795b 795b
in the browser http://localhost:9200/neo4j-index/
gives output
{"neo4j-index":{"aliases":{},"mappings":{},"settings":{"index":{"gas":{"enable":"true","neo4j":{"hostname":"http://localhost:7474"}},"creation_date":"1526953191102","number_of_shards":"5","number_of_replicas":"1","uuid":"eCQWEqTpRXGb1hUdttYWog","version":{"created":"2020299"}}},"warmers":{}}}
Unable to access 'path.scripts'
I am getting following error after running the command
$ docker-compose up
Error:
Refer to the log for complete error details.
elastic_container | Exception in thread "main" java.lang.IllegalStateException: Unable to access 'path.scripts' (/usr/share/elasticsearch/config/scripts)
elastic_container | Likely root cause: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/config/scripts
elastic_container | at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
elastic_container | at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
elastic_container | at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
elastic_container | at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
elastic_container | at java.nio.file.Files.createDirectory(Files.java:674)
elastic_container | at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
elastic_container | at java.nio.file.Files.createDirectories(Files.java:767)
elastic_container | at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:337)
elastic_container | at org.elasticsearch.bootstrap.Security.addPath(Security.java:314)
elastic_container | at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:248)
elastic_container | at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:212)
elastic_container | at org.elasticsearch.bootstrap.Security.configure(Security.java:118)
elastic_container | at org.elasticsearch.bootstrap.Bootstrap.setupSecurity(Bootstrap.java:196)
elastic_container | at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167)
elastic_container | at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
elastic_container | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
elastic_container | Refer to the log for complete error details.
elastic_container | Exception in thread "main" java.lang.IllegalStateException: Unable to access 'path.scripts' (/usr/share/elasticsearch/config/scripts)
Thank you,
Aashish
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.