Skip to content
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

Default search fields and autocomplete fields #188

Open
quintinali opened this issue May 31, 2017 · 4 comments
Open

Default search fields and autocomplete fields #188

quintinali opened this issue May 31, 2017 · 4 comments

Comments

@quintinali
Copy link
Collaborator

quintinali commented May 31, 2017

  1. default search fields
    https://github.com/mudrod/mudrod/blob/master/core/src/main/java/gov/nasa/jpl/mudrod/ssearch/Dispatcher.java#L95

  2. default autocomplete field
    https://github.com/mudrod/mudrod/blob/master/core/src/main/java/gov/nasa/jpl/mudrod/driver/ESDriver.java#L389
    https://github.com/mudrod/mudrod/blob/master/core/src/main/resources/elastic_mappings.json#L63

@lewismc Could you please take a look at the autocomplete part. The autocompletion function changes when Elasticaserth is upgraded from 2.3 to 5.0. Yongyao and I have spent many time modifying the autocomplete function to use the latest API but the autocompletion results are bad sometimes.

@quintinali quintinali changed the title Default search fields and autocomplete field Default search fields and autocomplete fields May 31, 2017
@lewismc
Copy link
Collaborator

lewismc commented May 31, 2017

Thank you @quintinali I'll take a look

@lewismc lewismc added this to the 06/07/2017 milestone May 31, 2017
@lewismc
Copy link
Collaborator

lewismc commented Jun 7, 2017

Please see PR at # the files I've added to both autocompletion and dataset disparcher search are as follows

  • Dataset-EllipsoidType
  • Dataset-ShortName-Full
  • Dataset-LongName-Full
  • Dataset-ProviderDatasetName
  • Dataset-Doi
  • Dataset-TemporalResolution-Group
  • Dataset-PersistentId
  • DatasetCitation-SeriesName
  • DatasetCitation-Title
  • DatasetParameter-Term-Full
  • DatasetParameter-Variable-Full
  • DatasetProject-Project-LongName
  • DatasetProject-Project-LongName-Full
  • DatasetProject-Project-ShortName
  • DatasetProject-Project-ShortName-Full
  • Collection-LongName
  • Collection-LongName-Full
  • Collection-ShortName
  • Collection-ShortName-Full

I've added the following to ONLY dataset disparcher search

  • Dataset-Description
  • DatasetSource-Source-Description
  • DatasetSource-Sensor-Description

@lewismc
Copy link
Collaborator

lewismc commented Jun 7, 2017

Also address the following under this issue
https://github.com/mudrod/mudrod/blob/master/core/src/main/java/gov/nasa/jpl/mudrod/metadata/pre/ApiHarvester.java#L74-L76
Rip out the String mapping, make it a JSON file and read it from the classpath.

@quintinali
Copy link
Collaborator Author

Mapping of raw metadata is configured using dynamic mapping template.
https://github.com/mudrod/mudrod/blob/master/core/src/main/java/gov/nasa/jpl/mudrod/metadata/pre/ApiHarvester.java#L74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants