Index shorter keywords in languages like Chinese #600

Closed
opened 2026-02-19 23:11:54 -05:00 by deekerman · 4 comments
Owner

Originally created by @cathaysia on GitHub (Dec 27, 2020).

Originally assigned to: @lastzero on GitHub.

It seem that photoprism ask search keyword's length >=3? But two word is enough is some case, Chinese especially. More, one word is enough some case.

Such as : 桥 = bridge, 船 = boat, etc.

Can I disable the limit of search keyword?

Originally created by @cathaysia on GitHub (Dec 27, 2020). Originally assigned to: @lastzero on GitHub. It seem that photoprism ask search keyword's length >=3? But two word is enough is some case, Chinese especially. More, one word is enough some case. Such as : 桥 = bridge, 船 = boat, etc. Can I disable the limit of search keyword?
deekerman 2026-02-19 23:11:54 -05:00
Author
Owner

@lastzero commented on GitHub (Dec 27, 2020):

Instead of adding yet another config option and indexing a, b, c, d, e, f... we should implement exceptions for languages like Chinese. What do you think?

@lastzero commented on GitHub (Dec 27, 2020): Instead of adding yet another config option and indexing a, b, c, d, e, f... we should implement exceptions for languages like Chinese. What do you think?
Author
Owner

@cathaysia commented on GitHub (Dec 27, 2020):

It must be a great idea, I'd looking forward for this.

@cathaysia commented on GitHub (Dec 27, 2020): It must be a great idea, I'd looking forward for this.
Author
Owner

@lastzero commented on GitHub (Dec 27, 2020):

Implementation was slightly more complex than just removing the limit 😉

@lastzero commented on GitHub (Dec 27, 2020): Implementation was slightly more complex than just removing the limit 😉
Author
Owner

@cathaysia commented on GitHub (Dec 28, 2020):

HAHA, I have noticed this change! Thank you so much. 😄
If need any test, let me know please!😄(If have a testing-docker-image, that's great.)

@cathaysia commented on GitHub (Dec 28, 2020): HAHA, I have noticed this change! Thank you so much. 😄 If need any test, let me know please!😄(If have a testing-docker-image, that's great.)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#600
No description provided.