New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elasticsearch instead of lucene as search engine #742
Comments
Well now that's annoying though that the lucene anlyzers prevent hibernate-search-elasticsearch from starting. Is that the only problem? (i.e. if you remove those annotations, does it work?) Does this seem like something that might be easier to solve via a PR to Hibernate Search itself? I'm certainly not opposed at all to the reorg you're suggesting, it sounds like a sensible way to go for sure.. I'm just worried that it's going to be a huge pain for you to decouple things to fix this, given that things like |
Hello James, So what I suggest is to remove those analyser definitions with |
Hello James, |
Hi @JiajingLiang - Very cool!! Probably here would be a good spot for that example: https://github.com/jamesagnew/hapi-fhir/tree/master/hapi-fhir-jpaserver-examples |
(oops, didn't mean to close the issue 😊 ) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
We're moving our current implementation which is based on fhir REST server to the fhir-jpa version.
We tried to update the hibernate search implementation to to use elasticsearch instead of lucene (we added hibernate-search-elasticsearch as a dependency).
It failed because some entity classes (like ca.uhn.fhir.jpa.entity.ResourceHistoryTable) have dependencies on lucene analyzer definition which are not compatible with elasticsearch.
Did we miss something in the fhir-jpa-server config or is using ES instead of lucene in need of some refactoring ?
We suggest to split all code specific to lucene package to another dependecy away from jpa-core module in the following way :
We plan to make 2 PRs in next days / weeks to :
We welcome any feedback on such an approach !
The text was updated successfully, but these errors were encountered: