Skip to content

Instantly share code, notes, and snippets.

@chamerling
Last active November 6, 2017 16:34
Show Gist options
  • Save chamerling/3aeed004e342cd703b261be0e9ff718e to your computer and use it in GitHub Desktop.
Save chamerling/3aeed004e342cd703b261be0e9ff718e to your computer and use it in GitHub Desktop.
Dirty ES fix for OP user search
chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ curl -XDELETE 'http://localhost:9200/users.idx/'
{"acknowledged":true}% chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ node ./bin/cli.js elasticsearch -t users
debug: local/SUBSCRIBE to mongodb:connectionAvailable
[CLI] INFO ElasticSearch has been configured
chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ node ./bin/cli.js reindex -t users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment