Add a search engine into Plume #324

Merged
Plume_migration_agent merged 11 commits from search into master 5 years ago

11 Commits (main)

Author SHA1 Message Date
Trinity Pointard 6d83d5aeba Fix minor issues related to search
Fix panic when searching for blog without precising instance
Make gen_parser! more idiomatic
Change js a bit to fix issue with history
5 years ago
Trinity Pointard 150a3943fb Add more tests and refactor previous ones 5 years ago
Trinity Pointard 73df356be7 Split search.rs, add comment and tests
Split search.rs into multiple submodules
Add comments and tests for Query
Make user@domain be treated as one could assume
5 years ago
Trinity Pointard 48addbe68e Add proper support for advanced search
Add an advanced search form to /search, in template and route
Modify Tantivy schema, add new tokenizer for some properties
Create new String query parser
Create Tantivy query AST from our own
5 years ago
Trinity Pointard cfc3351a96 Handle process termination to release lock
Handle process termination
Add tests to search
5 years ago
Trinity Pointard 1d3d7ce645 Implement front part of search
Add default fields for search
Add new routes and templates for search and result
Implement FromFormValue for Page to reuse it on search result pagination
Add optional query parameters to paginate template's macro
Update to newer rocket_csrf, don't get csrf token on GET forms
5 years ago
Trinity Pointard 3f2e7c130d Autocommit search index every half an hour 5 years ago
Trinity Pointard 15a4adf51f Move to a new threadpool engine allowing scheduling 5 years ago
Trinity Pointard 5d0636674e Make test compile 5 years ago
Trinity Pointard e397282a59 Implement indexing and plm subcommands
Implement indexaction on insert, update and delete
Modify func args to get the indexer where required
Add subcommand to initialise, refill and unlock search db
5 years ago
Trinity Pointard 946a715ab4 Add search engine to the model
Add a Tantivy based search engine to the model
Implement most required functions for it
5 years ago