-
Notifications
You must be signed in to change notification settings - Fork 6
change ESMetadata field names #626
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
Conversation
lmarini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to get this to work. I did drop the indexes. Documents show in elasticsearch but the UI returns "no results". I created a dataset with name/description of "foobar" and two metadata fields, one a text one with content of "foobar". Searching for "foobar" doesn't return documents. Searching with empty string also doesn't return documents.
|
With advanced search, I see datasets by name and from metadata entries, started with new db so didn't need to re-index. And I don't see results if I don't have permission for a particular user. Is there anything else that needs to be tested? That seems like everything. |
tcnichol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with new datasets and metadata.
No duplicates, correct datasets returned, only datasets with permission returned.
Approved.
longshuicy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
No duplicate results, and lucene search works with metadata.
ddey2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
* change ESMetadata field names * restore download filter * re-enable lucene search * add permissions to other endpoint * merge ES indexes into single index and refactor metadata * clean up GUI search behavior as well. * include content_type in minio * fix tests & codegen
* add sharing endpoint * add pytest * expires need to be converted to timedelta * codegen and black * connect to action * share visualization * add envrionmental variable to pass in minio external images * lift the condition that only main and release get to push to docker temporarily * allow pushing to docker.io * turn off pushing * turn secure to true * only go by main type if there is no content type (#639) * improve the logic of handling incomplete visualization configuration (#637) * change ESMetadata field names (#626) * change ESMetadata field names * restore download filter * re-enable lucene search * add permissions to other endpoint * merge ES indexes into single index and refactor metadata * clean up GUI search behavior as well. * include content_type in minio * fix tests & codegen * Edit Group Name no longer erases group description (#646) * sending groupDescription to EditNameModal same as in EditDescriptionModal which sends both * undefined or string * breadcrumb back for dataset and folder and subfolder (#634) * breadcrumb back for dataset and folder and subfolder * no breadcrumb in dataset * move breadcrumb on dataset folder page only visible if we are in folder * moving breadcrumb * remove console log and add padding not sure if padding is right * update breadcrumb (#642) * update breadcrumb * update file layout the same way as dataset --------- Co-authored-by: Chen Wang <cwang138@illinois.edu> * add enpoint for presign url from minio * need to toggle between http and https;environment variable cannot be boolean * wire in minio secure env correctly * remove not used redux stuff * wire in sharing url for file * use the correct icon * wire it properly * linting * Removed unused variable. * update default to be 7 days --------- Co-authored-by: Todd Nicholson <40038535+tcnichol@users.noreply.github.com> Co-authored-by: Max Burnette <mburnet2@illinois.edu> Co-authored-by: Luigi Marini <lmarini@illinois.edu>


This is for #603
THIS PR OVERHAULS ELASTICSEARCH INDEX. Recommend stopping your containers, deleting volumes, restarting, then creating a Metadata Definition and creating datasets/files. This should resolve duplicate results bug and re-enable Lucene search.
It was becoming difficult to make effective search while files/datasets/metadata were in separate Elasticsearch indexes, here they are merged into one ElasticsearchObject closer to v1 that includes metadata directly on object.
Examples:
File and dataset with metadata:


Use fancy lucene syntax:

Combine them with another dataset that has Orange as color:

Multiple criteria:

