The HAPI JPA Server supports optional indexing via Hibernate Search when configured to use Lucene or Elasticsearch.
This is required to support the
_text search parameters.
Additional indexing is implemented for simple search parameters of type token, string, and reference.
These implement the basic search, as well as several modifiers:
This experimental feature is enabled via the
setAdvancedLuceneIndexing() property of DaoConfig.
The Advanced Lucene string search indexing supports the default search, as well as the modifiers defined in https://www.hl7.org/fhir/search.html#string.
:exactmatches the entire string, matching case and accents
:containsextends the default search to match any substring of the text
:textprovides a rich search syntax as using the Simple Query Syntax as defined by Lucene and Elasticsearch.
The Advance Lucene indexing supports the default token search by code, system, or system+code,
as well as with the
:text modifier provides the same Simple Query Syntax used by string