[full-ci] - use KQL as default search query language #9653
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We've introduced KQL as our default query language.
Previously we used our own simple language for queries which is now replaced by kql.
sample.tx* Tags:important Tags:report Content:annual*
becomes
name:"sample.tx*" AND tag:important AND tag:report AND content:"annual*"
by default KQL uses
AND
as property restriction and the query described above can also be formulated as followsname:"sample.tx*" tag:important tag:report content:"annual*"
More advanced syntax like grouping combined with boolean property restriction is supported too
(name:"sample*" name:"*txt") tag:important OR tag:report content:"annual*"
Related Issue
Motivation and Context
Defining a own query language is error prone and leads to a lot of documentation, the oCIS team decided in that ADR to use KQL as our standard. A clear set of rules is set by MS and the dictionary fits well in our usecase.
How Has This Been Tested?
Types of changes
Checklist: