Skip to content

Commit

Permalink
chore: mention KQL in the search readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Sep 5, 2023
1 parent 5d1d0a6 commit cd7dd56
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions services/search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ Note that as of now, the search service can not be scaled. Consider using a dedi

By default, the search service is shipped with [bleve](https://github.com/blevesearch/bleve) as its primary search engine. The available engines can be extended by implementing the [Engine](pkg/engine/engine.go) interface and making that engine available.

## Query language

By default, [KQL](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference) is used as query language,
for an overview of how the syntax works, please read the [microsoft documentation](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference).

Not all parts are supported, the following list gives an overview of parts that are not implemented yet:

* Synonym operators
* Inclusion and exclusion operators
* Dynamic ranking operator
* ONEAR operator
* NEAR operator
* Date intervals

In the following [ADR](https://github.com/owncloud/ocis/blob/docs/ocis/adr/0020-file-search-query-language.md) you can read why we chose KQL.

## Extraction Engines

The search service provides the following extraction engines and their results are used as index for searching:
Expand Down

0 comments on commit cd7dd56

Please sign in to comment.