-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9653 from owncloud/use-kql
[full-ci] - use KQL as default search query language
- Loading branch information
Showing
8 changed files
with
64 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# The version of OCIS to use in pipelines that test against OCIS | ||
OCIS_COMMITID=9c3511d2b08de25b16be3d309d0a7710b6848747 | ||
OCIS_BRANCH=master | ||
OCIS_COMMITID=5d1d0a68bd34e5a12abba010152c7a2228974f52 | ||
OCIS_BRANCH=enable-kql |
22 changes: 22 additions & 0 deletions
22
changelog/unreleased/enhancement-kql-search-query-language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Enhancement: Keyword Query Language (KQL) search syntax | ||
|
||
We've introduced [KQL](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference) 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 follows | ||
|
||
`name:"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*"` | ||
|
||
https://github.com/owncloud/web/pull/9653 | ||
https://github.com/owncloud/web/issues/9636 | ||
https://github.com/owncloud/web/issues/9646 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
export abstract class SearchLocationFilterConstants { | ||
static readonly defaultModeName: string = 'everywhere' | ||
static readonly everywhere: string = 'everywhere' | ||
static readonly inHere: string = 'in-here' | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.