-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Search index not updated when editing issue title #8060
Comments
Brilliant, this has fixed the issue, thanks for quick response :) I need to edit the title again to trigger the reindex. Is there any way to run a full re-index to catch anything that was edited before the fix was implemented? |
@bobemoe You can stop Gitea, then safely remove the directory |
@bobemoe The fix is not included in any release yet, but you can get it if you build from source. |
Curious. I'm running the dev build, which I think it pretty up to date? I tested by editing my title on the above try.gitea which is now at 1.10.0+dev-245-gc027eac1d changed it to "renamed again" and then it appeared to get re-indexed! Also did a second test and with new issue and it also working as expected. Thanks for the tip about rebuilding the indexes, most useful :) |
I'm not sure how try.gitea.io is installed, but it could be that it's forced to rebuild indexes upon installation (it's a docker image AFAIK). |
This is working fine in web frontend (thanks again for fixing) but I've just noticed its still a problem when updating issue title or body through the API. Would you like me to open new issue? |
Also a problem when editing issue body in the web frontend. |
Yes, please |
Description
When an issue title is edited, the issue can't be found using the new title, in fact it still appears in the search results using the old keywords!
I created issue with title "specific keyword" then edited title and changed it to "renamed".
You can see the issue is not found in search for "renamed":
https://try.gitea.io/bobemoe/test/issues?type=all&state=open&labels=0&milestone=0&assignee=0&q=renamed
But can still be found for "specific keyword":
https://try.gitea.io/bobemoe/test/issues?type=all&state=open&labels=0&milestone=0&assignee=0&q=specific+keyword
The text was updated successfully, but these errors were encountered: