mtbarta / monocorpus

A notepad for software and machine learning
GNU Affero General Public License v3.0
232 stars 13 forks source link

Improve Search #12

Closed mtbarta closed 6 years ago

mtbarta commented 6 years ago

Search doesn't seem to work, and it's not clear to the user why.

  1. add more error handling so the user knows search is broken.
  2. consider adding a queue for search events in the backend. The implementation here can be improved.
mtbarta commented 6 years ago

it looks like for my service, the gateway failed to connect and has no idea that search is available.

  1. improve service discovery and retry ability.
mtbarta commented 6 years ago

transitioning to go-micro has added consul service discovery and async messaging to a search service.

Additionally, It looks like the ES index map wasn't storing the type of note, so it was impossible to display notes.

This should all be fixed.

5cc12474f29cd8a9079ab163c5027dc39dbac667 87f40fe56ead97f31d82f6151f68e27c5b7d7c02 c9c97511cc29001fd7496fed9247043e15b9fbf9