-
-
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
Requesting search of wiki repos #3670
Comments
Currently it will only index code but not related wiki repo. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Indexing wiki and having an effective search function definitely helps with the use of a software, especially something as promising as gitea. Please give this ticket more consideration that it deserves. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Agree this feature is sorely missing and makes the wiki not very useable in lots of real world situations (lots of documentation/text isn't practical without search). It is almost more usable to use the regular code view to store the wiki/md files where you get access to search but loose the few wiki features like page dropdown and _sidebar/_footer Having a search here would make the wiki feature exponentially more useful :) |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Could it be implemented with bleve, like the other searches? Any objections with an implementation like that? I guess the Wiki is just markdown code, so I think it shouldn't be too difficult to implement. |
The wikis being just (afaik) rendered code, it definitely feels like it should be able to be done in a similar fashion. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
I, too, would love to see this on the roadmap - I currently maintain a company wiki within Gitea, but the lack of search is sorely missing. |
Like a few others have mentioned, I too create a separate code repository and use it as a wiki. However, the analyzer uses Long-term there needs to be a separate indexer for the wiki but for an easy workaround one can change the analyzer used in the source: sed -i 's!analyzer/keyword!analyzer/standard!' modules/indexer/code/bleve/bleve.go I put together this FROM codeberg.org/forgejo/forgejo:1.20
# Install Go (needed because alpine currently has 1.20)
RUN wget 'https://go.dev/dl/go1.21.3.linux-amd64.tar.gz'
RUN tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz
ENV PATH="/usr/local/go/bin/:$PATH"
ENV CGO_ENABLED=1
# Install dependencies
RUN apk update; apk add make nodejs npm gcc musl-dev
# Get the source and patch it
RUN git clone https://codeberg.org/forgejo/forgejo --depth=1
RUN sed -i 's!analyzer/keyword!analyzer/standard!' forgejo/modules/indexer/code/bleve/bleve.go
# Build it
RUN cd forgejo; make clean-all
RUN cd forgejo; make frontend
RUN cd forgejo; go build contrib/environment-to-ini/environment-to-ini.go
RUN cd forgejo; TAGS="bindata sqlite sqlite_unlock_notify" make -j1
# Install it
RUN install -Dm755 forgejo/gitea -t /usr/local/bin/ Footnotes |
Hello! Are there any plans on this feature? |
In hindsight I'm not sure if my last workaround worked very well, I'd need to review it. What needs to be done to implement this? If someone with more experience in this codebase can list some achievable steps, I'm happy to help out in any way I can. As it stands I'm using a separate Meilisearch Bar and fzf + bleve, I'd rather just use the integrated bleve. |
suggestions how to expose it to the ui are welcome to #29726 ;) |
[x]
):Description
I have enabled indexing of my repos with
REPO_INDEXER_ENABLED = true
in my app.ini
I would like to search my wiki repos like I do my code repos
The text was updated successfully, but these errors were encountered: