KitaitiMakoto
KitaitiMakoto pushed to invalid-index at KitaitiMakoto/Plume 2020-07-19 02:56:21 +00:00
5e30bede40 Don't care about needless return value of closures
5cca66b346 Add action user can take to error message
Compare 2 commits »
KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-19 02:55:48 +00:00
Recreate search index if its format is outdated

No, what if let block does is creating search index. It need to be done before opening search index.

KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-19 02:53:21 +00:00
Recreate search index if its format is outdated

I think so. There are many types of error in Plume and they doesn't matter here. But I'm not good at Rust. Is there better way to the errors?

KitaitiMakoto pushed to invalid-index at KitaitiMakoto/Plume 2020-07-18 16:24:11 +00:00
484659fde2 Run cargo fmt
KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-18 14:33:11 +00:00
Recreate search index if its format is outdated

I've rewritten. Can you check it out, please?

KitaitiMakoto pushed to invalid-index at KitaitiMakoto/Plume 2020-07-18 14:32:32 +00:00
5fc827c1c9 Re-initialize search index when recreating is failed
KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-18 10:42:37 +00:00
Recreate search index if its format is outdated

But your point is reasonable. It's the rare case what I imagine. I will rewrite my patch to temporatrilly backup older index and remove it after successfully recreating new index. Thank you for the advice.

KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-18 10:39:53 +00:00
Recreate search index if its format is outdated

Admin can run Plume v0.4.0 with older index.

KitaitiMakoto commented on pull request Plume/Plume#802 2020-07-18 10:28:16 +00:00
Recreate search index if its format is outdated

Renaming current search index as a backup and creating new index is good. There's a point to discuss: how and who remove that backup?

Administrator might want to restore the index several days later for some purpose. If Plume removes backup directory after it started running successfully, they cannot achieve their purpose. So, remaining backup directory and recomment admin to remove it at any point in time.

On the other hand, most of admins will forget remove backup directories even if Plume show a message recommending removing later. If they remove it themselves, they remember the existence of backup directory and can add removing it to their to-do list. This is why Plume shows message and exists in my patch.

Which is better do you think?

KitaitiMakoto created pull request Plume/Plume#802 2020-07-18 00:51:26 +00:00
Recreate search index if its format is outdated
KitaitiMakoto pushed to invalid-index at KitaitiMakoto/Plume 2020-07-18 00:46:25 +00:00
50753b3a65 Recreate search index if its format is outdated
c5d03d300b Cause IndexInvalidDataError when search index is invalid
4ace2a8666 Recreate search index if its format is outdated
3ac2d537d5 Bind result of opening searcher to a temporary variable
e148def694 Cause IndexInvalidDataError when search index is invalid
Compare 10 commits »
KitaitiMakoto pushed to invalid-index at KitaitiMakoto/Plume 2020-07-18 00:34:22 +00:00
4ace2a8666 Recreate search index if its format is outdated
3ac2d537d5 Bind result of opening searcher to a temporary variable
e148def694 Cause IndexInvalidDataError when search index is invalid
7f12ead0b9 Update lindera-tantivy to v0.1.3
KitaitiMakoto commented on pull request Plume/Plume#796 2020-07-05 14:52:22 +00:00
Update lindera-tantivy to v0.1.3

Thanks for the merge.

KitaitiMakoto deleted branch update-lindera-tantivy from KitaitiMakoto/Plume 2020-07-05 14:52:01 +00:00
KitaitiMakoto pushed to search-config at KitaitiMakoto/documentation 2020-07-04 15:23:59 +00:00
7305b4c663 Add documentation about SEARCH_TAG_TOKENIZER, SEARCH_CONTENT_TOKENIZER
e4d560a180 Add documentation about , and/or
Compare 2 commits »
KitaitiMakoto pushed to search-config at KitaitiMakoto/documentation 2020-07-04 15:20:13 +00:00
e4d560a180 Add documentation about , and/or
KitaitiMakoto created repository KitaitiMakoto/documentation 2020-07-03 23:12:34 +00:00
KitaitiMakoto created pull request Plume/Plume#796 2020-07-03 23:09:30 +00:00
Update lindera-tantivy to v0.1.3
KitaitiMakoto pushed to update-lindera-tantivy at KitaitiMakoto/Plume 2020-07-03 23:08:37 +00:00
f28f4c1fad Update lindera-tantivy to v0.1.3
7e78cffcaa Bump Docker base images to buster flavor (#797)
Compare 2 commits »
KitaitiMakoto pushed to update-lindera-tantivy at KitaitiMakoto/Plume 2020-07-03 23:05:52 +00:00
7e78cffcaa Bump Docker base images to buster flavor (#797)