Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

how product index.bin #11

Open
fchest opened this issue Mar 17, 2017 · 2 comments
Open

how product index.bin #11

fchest opened this issue Mar 17, 2017 · 2 comments

Comments

@fchest
Copy link

fchest commented Mar 17, 2017

hi, I don't know how to product index.bin. Is there anyone knows? Thanks very much.

@xulen
Copy link

xulen commented Apr 4, 2017

  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. If you have multiple codegens in the json file replace jq -r '.[0].code' with jq -r '.[].code'

@nurlix
Copy link

nurlix commented Aug 17, 2017

Hi.
I gues you cant just append a json instaed you recreate index.bin file every time when you want to add a new song right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants