1

It seems like all the filters currently use logical AND by default. E.g. is:issue label:bug bug in:title basically does is:issue && label:bug && bug in:title.

My question is, whether it’s possible to make a query like: is:issue && label:bug || bug in:title.

Related: Can I search github labels with logical operator OR?, but this deals with logical or within labels only. I am looking for something more generic.

Edit: According to Search REST API docs, operators are supported

have more than five AND, OR, or NOT operators

but I couldn't find anything related.

MartinT
  • 590
  • 5
  • 21

1 Answers1

0

The more generic search documentation is "Understanding the search syntax", based on "About searching on GitHub"

GitHub search uses an ElasticSearch cluster to index projects every time a change is pushed to GitHub.
Issues and pull requests are indexed when they are created or modified.

While the Elasticsearch syntax does include boolean operator, nothing in the generic GitHub search documentation indicates OR is supported (for now, July 2022).

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250