dsp-api
dsp-api copied to clipboard
Standoff Search and Lucene
from https://github.com/dhlab-basel/Knora/pull/1379#issuecomment-534487514
When check for single terms to be marke up in specific way, all of them are expected to occur:
https://github.com/dhlab-basel/Knora/blob/0a1cbc3c4764509d1aa7679e9c7b40fd9d980de4/webapi/src/main/scala/org/knora/webapi/responders/v2/search/gravsearch/prequery/AbstractPrequeryGenerator.scala#L1290-L1299
https://github.com/dhlab-basel/Knora/blob/0a1cbc3c4764509d1aa7679e9c7b40fd9d980de4/webapi/src/main/twirl/queries/sparql/v2/searchFulltextGraphDB.scala.txt#L90-L94
But if the client submits two terms, only one of them would have to occur.