Docker HAPI with Fulltext search

26 views
Skip to first unread message

Artur Mudrytskyi

unread,
Jul 11, 2025, 8:54:36 AMJul 11
to HAPI FHIR

Hi everyone,

I'm trying to set up a HAPI FHIR Server using Docker with the following requirements:

  • PostgreSQL as the backend

  • HAPI FHIR Server

  • Full-text search enabled (either via Lucene or OpenSearch)

I’ve tried multiple combinations using:

  • hapiproject/hapi image

  • postgres:14

  • opensearchproject/opensearch:2

  • Also tried enabling hapi.fhir.lucene.enabled=true and related properties

Unfortunately, I haven’t been able to get full-text search (_content, code:text) working correctly. Either the server doesn’t start, or _content queries fail with "not supported" errors.

Has anyone successfully configured HAPI FHIR with full-text search using Docker and PostgreSQL?
Any working docker-compose.yml, example config, or guidance would be greatly appreciated 🙏

Thanks in advance!

docker-compose.yml

Patrick Werner

unread,
Jul 11, 2025, 9:34:53 AMJul 11
to Artur Mudrytskyi, HAPI FHIR
Hi Artur,

I released a new version of the hapi docker image yesterday which enables full-text search. This was a broken feature in the jpastarter. 

- Use the latest docker image(v8.2.0-2)
- set: hibernate.search.enabled: true & search_index_full_text_enabled: true in the application.yaml

And it should work.

Cheers
Patrick

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hapi-fhir/b3d9d8d2-0e43-4979-8121-870842d7e547n%40googlegroups.com.
<docker-compose.yml>

Rob Ferguson

unread,
Jul 13, 2025, 11:37:32 PMJul 13
to HAPI FHIR
Reply all
Reply to author
Forward
0 new messages