Open rufuspollock opened 4 years ago
@anuveyatsu can you update this e.g. check those items that were implemented and leave a detailed comment here with the status. If it is all done we can close as fixed and link to the docs issue at https://gitlab.com/datopian/tech/tech.datopian.com/issues/5
Search support like CKAN Classic in Next Gen frontend.
User Stories
As a User I want to explore and find datasets on the platform so that I can see what is there and find what I want quickly (or know it does not exist)
As a User, I want to browse all datasets available on the data portal so that I can quickly find what I need.
As a User, I want to have search functionality so that I can type in keywords and get list of datasets that satisfies my needs.
We need to replicate CKAN search UI
Key features
Acceptance criteria
Tasks
normalizeCkan()
- small function that converts CKAN response into metastore like reponseRecommendation
search URI API
TODO: map from CKAN to our support
Support q?...
Logic API
Results:
Templating
Template gets:
query
results
Page
Sequence diagram of Search flow
Below is very detailsed flow of how it is goind to work. Assume we're working with CKAN backend:
Analysis
UI for search
API for search
Query object
Result
Situation
Elasticsearch
TODO:
Results
DataHub
What is search results that datahub currently expects ... From MetaStore which is a thin wrapper around elasticsearch
CKAN
Routes
https://docs.ckan.org/en/2.8/api/index.html#ckan.logic.action.get.package_search
q
parameter in the URL