Repo search - query syntax?

#1

By enabling REPO_INDEXER_ENABLED = true in app.ini you enable the indexing of repo-content, which works fine.

However I cannot find any description of the syntax for queries ?
Ie something similar to https://help.github.com/en/enterprise/2.16/user/articles/understanding-the-search-syntax .

To my understanding the default index-engine that is used is blevesearch.
Is the full bleve-syntax (https://blevesearch.com/docs/Query-String-Query/ ) supported ?
Can fields be used in queries ?

If anyone can point be in the right direction I can open a PR with a documentation page about this useful function.

Thanks in advance
Ulf

1 Like
#2

Currently, we only support one keyword here.

#3

Are there some rules about characters that can be used ?

I tried to search “PCP_793” and the underline character wasn’t found.