From ee801745a7fe128490f3b2111f5272d3794efc9e Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Mon, 15 Jun 2020 23:02:07 +0200 Subject: [PATCH] Add fultext field to search params --- modules/restapi/src/main/resources/docspell-openapi.yml | 4 ++++ .../src/main/scala/docspell/restserver/conv/Conversions.scala | 1 + 2 files changed, 5 insertions(+) diff --git a/modules/restapi/src/main/resources/docspell-openapi.yml b/modules/restapi/src/main/resources/docspell-openapi.yml index 7159cd10..fc87b250 100644 --- a/modules/restapi/src/main/resources/docspell-openapi.yml +++ b/modules/restapi/src/main/resources/docspell-openapi.yml @@ -3386,6 +3386,10 @@ components: description: | Search in item names, correspondents, concerned entities and notes. + fullText: + type: string + description: | + A query searching the contents of documents. corrOrg: type: string format: ident diff --git a/modules/restserver/src/main/scala/docspell/restserver/conv/Conversions.scala b/modules/restserver/src/main/scala/docspell/restserver/conv/Conversions.scala index e43300f0..81636a23 100644 --- a/modules/restserver/src/main/scala/docspell/restserver/conv/Conversions.scala +++ b/modules/restserver/src/main/scala/docspell/restserver/conv/Conversions.scala @@ -124,6 +124,7 @@ trait Conversions { m.dueDateFrom, m.dueDateUntil, m.allNames, + m.fullText, None )