Stream: implementers
Topic: Apache-Lucene version conflicts
Ranjith (Jun 09 2016 at 19:48):
Hi,
I'm using <hapi-fhir-1.5-cli> which includes few lib jars from Apache_Lucene - 5.3.1 as part of FHIR implementation in our application. As a result..we are getting conflicts with already existing Apache-Lucene version 4.10.1 used in ourapplication. Will FHIR works if I replace 5.3.1 with 4.10.1 verson for Apache-Lucene. Any thoughts would HELP!! Thank you
James Agnew (Jun 09 2016 at 19:54):
Two things- the CLI jar isn't really designed to be embedded in other applications. You might have an easier time if you create an application using HAPI and use a build manager to figure out dependency versions. If you do get it working with the CLI, great though. Nothing wrong with that.
Either way, Lucene is only used for 2 things: fulltext searching, and (as of 1.6 which isn't released yet) terminology services. The next version of the CLI (1.6) will have a --lowmem
option which disables Lucene support entirely in HAPI so that would probably resolve this.
Ranjith (Jun 09 2016 at 20:08):
Will do further investigation with your two options to resolve this . Thank you very much...James.
Last updated: Apr 12 2022 at 19:14 UTC