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

[Bug] Code search failed with Elastic Search and Chinese characters #12791

Closed
2 of 7 tasks
jnlin opened this issue Sep 10, 2020 · 1 comment · Fixed by #12811
Closed
2 of 7 tasks

[Bug] Code search failed with Elastic Search and Chinese characters #12791

jnlin opened this issue Sep 10, 2020 · 1 comment · Fixed by #12811
Assignees
Labels
Milestone

Comments

@jnlin
Copy link
Contributor

jnlin commented Sep 10, 2020

  • Gitea version (or commit ref): 1.13.0+dev-580-gc6e4bc53a
  • Git version: 2.11.0
  • Operating system: alpine
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

https://gist.github.com/jnlin/b55388dbc5e65890d87fa11f5701e523

Description

Panic on source code line https://github.com/go-gitea/gitea/blob/master/modules/indexer/code/elastic_search.go#L274

Screenshots

截圖 2020-09-10 下午2 20 55

@jnlin jnlin changed the title Code search failed with Elastic Search and Chinese characters [Bug] Code search failed with Elastic Search and Chinese characters Sep 10, 2020
@lunny lunny added the type/bug label Sep 10, 2020
@lunny lunny self-assigned this Sep 10, 2020
@lafriks lafriks added this to the 1.13.0 milestone Sep 11, 2020
@jnlin
Copy link
Contributor Author

jnlin commented Sep 14, 2020

It works! Thank you all

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants