Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Non-English Character Search #888

Closed
fatecyx opened this issue Nov 1, 2023 · 2 comments
Closed

Problem with Non-English Character Search #888

fatecyx opened this issue Nov 1, 2023 · 2 comments

Comments

@fatecyx
Copy link

fatecyx commented Nov 1, 2023

LRR Version and OS
Docker, Version 0.9.0

Bug Details
At first, I moved some of the manga in zip file format to the content directory and rescanned the Archive Director to import them. Then I tried to search for them.
For example, when searching for “[たまちゆき] 少年×少女”, no results were found.

Surprisingly, when I right-clicked to edit metadata, without making any changes and saved it directly, the results appeared when I searched with “少年” again!

However, I tried to use BatchOperations such as plugins and TagRules to modify metadata in bulk but couldn’t achieve this effect.

Matching Logs
[2023-11-01 09:51:06] [Search Cache] [debug] Search request: -少年×少女-series-0-0-0
[2023-11-01 09:51:06] [Search Cache] [debug] Search request: -少年×少女-title-0--
[2023-11-01 09:51:06] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:06] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:06] [Search Core] [debug] Pre-escaped tag: 少年×少女
[2023-11-01 09:51:06] [Search Core] [debug] Pre-escaped tag: 少年×少女
[2023-11-01 09:51:06] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:06] [Search Core] [debug] Searching for 少年×少女, isneg=0, isexact=0
[2023-11-01 09:51:06] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:06] [Search Core] [debug] Searching for 少年×少女, isneg=0, isexact=0
[2023-11-01 09:51:19] [Search Cache] [debug] Search request: -[たまちゆき] 少年×少女 [中国翻訳]-title-0--
[2023-11-01 09:51:19] [Search Cache] [debug] Search request: -[たまちゆき] 少年×少女 [中国翻訳]-series-0-0-0
[2023-11-01 09:51:19] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:19] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:19] [Search Core] [debug] Pre-escaped tag: [たまちゆき] 少年×少女 [中国翻訳]
[2023-11-01 09:51:19] [Search Core] [debug] Pre-escaped tag: [たまちゆき] 少年×少女 [中国翻訳]
[2023-11-01 09:51:19] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:19] [Search Core] [debug] Searching for [たまちゆき] 少年×少女 [中国翻訳], isneg=0, isexact=0
[2023-11-01 09:51:19] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:19] [Search Core] [debug] Searching for [たまちゆき] 少年×少女 [中国翻訳], isneg=0, isexact=0
[2023-11-01 09:51:46] [Search Cache] [debug] Search request: -406218a9195ed2d19ed7902b0dea68f22783de88-series-0-0-0
[2023-11-01 09:51:46] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:46] [Search Cache] [debug] Search request: -406218a9195ed2d19ed7902b0dea68f22783de88-title-0--
[2023-11-01 09:51:46] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:51:46] [Search Core] [debug] Pre-escaped tag: 406218a9195ed2d19ed7902b0dea68f22783de88
[2023-11-01 09:51:46] [Search Core] [debug] Pre-escaped tag: 406218a9195ed2d19ed7902b0dea68f22783de88
[2023-11-01 09:51:46] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:46] [Search Core] [debug] Searching for 406218a9195ed2d19ed7902b0dea68f22783de88, isneg=0, isexact=0
[2023-11-01 09:51:46] [Categories] [debug] No category ID provided.
[2023-11-01 09:51:46] [Search Core] [debug] Searching for 406218a9195ed2d19ed7902b0dea68f22783de88, isneg=0, isexact=0
[2023-11-01 09:52:50] [Search Cache] [debug] Search request: -少年-series-0-0-0
[2023-11-01 09:52:50] [Search Cache] [debug] Search request: -少年-title-0--
[2023-11-01 09:52:50] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:52:50] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:52:50] [Search Core] [debug] Pre-escaped tag: 少年
[2023-11-01 09:52:50] [Search Core] [debug] Pre-escaped tag: 少年
[2023-11-01 09:52:50] [Categories] [debug] No category ID provided.
[2023-11-01 09:52:50] [Search Core] [debug] Searching for 少年, isneg=0, isexact=0
[2023-11-01 09:52:50] [Categories] [debug] No category ID provided.
[2023-11-01 09:52:50] [Search Core] [debug] Searching for 少年, isneg=0, isexact=0
[2023-11-01 09:53:12] [Search Cache] [debug] Search request: -7fdff78b4438b7f7f31749ca61897a954567a454-title-0--
[2023-11-01 09:53:12] [Search Cache] [debug] Search request: -7fdff78b4438b7f7f31749ca61897a954567a454-series-0-0-0
[2023-11-01 09:53:12] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:53:12] [Search Engine] [debug] No cache available, doing a full DB parse.
[2023-11-01 09:53:12] [Search Core] [debug] Pre-escaped tag: 7fdff78b4438b7f7f31749ca61897a954567a454
[2023-11-01 09:53:12] [Search Core] [debug] Pre-escaped tag: 7fdff78b4438b7f7f31749ca61897a954567a454
[2023-11-01 09:53:12] [Categories] [debug] No category ID provided.
[2023-11-01 09:53:12] [Search Core] [debug] Searching for 7fdff78b4438b7f7f31749ca61897a954567a454, isneg=0, isexact=0
[2023-11-01 09:53:12] [Categories] [debug] No category ID provided.

@soarpasser
Copy link

soarpasser commented Nov 2, 2023

Perhaps related to #849 ?
It seems that recent versions of Lr just doesn't like searching brand new archives with non-English characters in the filename. Curiously, the search function will start working again once the archive's metadata has been modified in some way.

@Difegue
Copy link
Owner

Difegue commented Nov 2, 2023

Yeah this looks like a duplicate - I haven't dug into this problem yet, will close in favor of the other issue. Thanks!

@Difegue Difegue closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants