Closed
Description
Feature Description
Sometimes searching for SQL/function in code results in bad hits. eg: search swaggerParameterBodies
in my local mirror of gitea:

which is actually defined in
gitea/routers/api/v1/swagger/options.go
Line 16 in d88b012
this is the indexer config
[indexer]
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = indexers/repos.bleve
# # 300k
MAX_FILE_SIZE = 307200
REPO_INDEXER_INCLUDE =
REPO_INDEXER_EXCLUDE = go.sum,package-lock.json
Support searching for literals by enclosing search terms in double quotation marks would be better.
For bleve using Match Phrase Query
Screenshots
No response