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
Allow SOLR integration for vocabulary search. #580
Comments
Should be related to #505 and the resulting component must be shared between Atlas & Achilles |
Agreed that this issue and #505 are related. To clarify:
@pavgra do you mean to say ATLAS & Athena instead of Achilles? Also, can you point us to the relevant code in the Athena code base that could be reviewed for thinking through a design that could be re-used between WebAPI and Athena? |
yep, sorry, misnamed. of course, Atlas & Athena
However, one of the most important things is Solr configuration, specifically tokenization, stemming and relevancy calculation (which is still not perfect in Athena, so we'll have a good reason to revisit the topic): |
@pavgra I know we've discussed integration possibilities in the past including having Athena include the SOLR Core for the vocabulary being distributed when someone downloads a vocabulary update. How does Athena manage the creation of the Core today for its search? Could that be the first component that is reusable? |
I don't think that sharing a Solr core together with vocabs bundle is the best option. Since Solr cores are built on top of original data and work like a "view", I strongly believe that Atlas should be able to generate those based on data in connected databases (sources). Athena does the same using Solr import handler (some docs, Athena code). Anyway, as soon as we are done with Symposium release version and ready to talk about Atlas v3.0, I'll be happy to return back to the issue referenced in first response, and will provide design proposal for the list of shared component which we'd like to address first. |
@anthonysena Is there any documentation on how to configure this feature? I think it's good candidate for a wiki article |
Great! We will review and validate in our environment |
Work initially started in Helios branch.
Much like security, SOLR integration will be disabled by default. A new property in the WebAPI configuration will allow you to toggle SOLR support. If SOLR support is enabled then the URL of the SOLR server must be configured. With SOLR support enabled the admin screen will provide a feature to build a SOLR index (core) off of an available CDM vocabulary version. As calls to the search API are received, if there is a SOLR index available for the version of the vocabulary, that search will be handled by SOLR.
A corresponding update to the UI should indicate that advanced capabilities are available, by providing a 'powered by SOLR' message beneath the search box along with a help pop up with some basic search capabilities provided by SOLR and a link to the SOLR documentation.
https://github.com/OHDSI/WebAPI/tree/helios
The text was updated successfully, but these errors were encountered: