-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Index #58
Comments
Hi, LOV uses elasticsearch for listing and search trough vocabularies, agents, vocabulary elements. Have you run the script to build the full text index in elasticsearch? All scripts are located in https://github.com/pyvandenbussche/lovScripts project. After compiling this project you will have to run create-index script that will create the index in elasticsearch and then run index-lov that will populate the index. |
Hi, i'm sorry for troubling and thank you for your help, I'm going to write a wiki to document the process and also I'm working on a docker image which I will make public, the scripts i have run is good, now I'm not getting the error, but i'm getting the same error when going on the url http://domainname.com/dataset/lov/terms /root/Applications/lov/app/controllers/search.js:434 |
@noorbakerally Any update on this issue? TIA |
This is an error i'm receiving when going on the route /dataset/lov/vocabs
/root/Applications/lov/app/controllers/search.js:585
total_results: parsed.total,
^
TypeError: Cannot read property 'total' of undefined
at ElasticSearchCall. (/root/Applications/lov/app/controllers/search.js:585:30)
at ElasticSearchCall.emit (events.js:95:17)
at IncomingMessage. (/root/Applications/lov/node_modules/elasticsearchclient/lib/elasticsearchclient/calls/elasticSearchCall.js:66:22)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:486:13)
[nodemon] app crashed - waiting for file changes before starting...
I tried to debug a little, by adding console.log(data) on line 577, i got the following:
{"error":"IndexMissingException[[lov] missing]","status":404}:
The text was updated successfully, but these errors were encountered: