echoprint-rest-service 404

90 views
Skip to first unread message

xulen

unread,
Apr 3, 2017, 8:14:23 PM4/3/17
to echoprint
Hi there


codegen index.bin

1) Create data for index.bin
 echoprint-codegen song.ogg > codegen_output.json 
2) cat codegen_output.json | jq -r '.[0].code' | echoprint-inverted-index index.bin
this will create index.bin file

quering
1)  echoprint-codegen query_song.ogg > codegen_output.json 
2) cat codegen_output.json | jq -r '.[0].code' | echoprint-inverted-query index.bin


but when i do (rest-service):

1) echoprint-rest-service index.bin
2) cat codegen_output.json | jq -r '.[0].code' > querysong.echoprint
3) curl -s --data \
    echoprint=`cat querysong.echoprint` \

tornado returns 404

Im kind of lost here, anyone can point me in the right direction? :)





Mad Nev

unread,
Apr 6, 2017, 7:17:15 PM4/6/17
to echoprint
hi xulen

your url is incorrect
use: 0.0.0.0:5678/query/jaccard

xulen

unread,
Apr 9, 2017, 9:12:43 PM4/9/17
to echoprint
Thanks Mad Nev, it was in the docs but still... then you became my doc, everything works now, i feel good! :)
Reply all
Reply to author
Forward
0 new messages