Open BjarniRunar opened 2 years ago
The search engine and partitioning work is (modulo bugs and future refactoring) complete.
Some notable milestones along the way:
There are now tools and docs explaining how to grant restricted access to the moggie search engine:
More relevant commits:
moggie grant
now worksmoggie context
now worksThere is now enough of a web interface exposed to allow 3rd party tools to search, display results, and display individual messages.
The search integration docs have been updated with a section aimed at developers: https://github.com/BjarniRunar/moggie/blob/master/docs/search-integration.md#6-notes-for-developers
Relevant commits:
The proof-of-concept SearX plugin is here: https://github.com/BjarniRunar/moggie/blob/master/contrib/searx/moggie.py
It works! However there does seem to be a bug in moggie's web server causing it to fail when Firefox connects to it directly (when a user clicks a search result in SearX). Reloading the blank page seems to suffice? I'll have to track that down, but it's not directly related to this.
As a first draft, this is complete. Leaving open, because the API should be reviewed and documentation improved further once all the notmuch #3 work is complete.
This issue tracks the milestones defined in the "Mailpile Search Integration" Project which is supported by a grant from NLNet and NGI0 Discovery.