-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
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
type swaggerParameterBodies struct { |
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
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.