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

sync should add period_startdate field to allow sorting by year #14

Open
OriHoch opened this issue Jun 20, 2017 · 3 comments
Open

sync should add period_startdate field to allow sorting by year #14

OriHoch opened this issue Jun 20, 2017 · 3 comments

Comments

@OriHoch
Copy link
Contributor

OriHoch commented Jun 20, 2017

reproduction

  • sync some photoUnits from clearmash
    • the photoUnits have fields containing estimate of when they were taken
    • this estimate could be a range, e.g. 1960 - 1969
    • in BHP the start date was in field UnitPeriod.PeriodStartDate
  • look at the resulting data in Elasticsearch

expected

  • should have an attribute period_startdate containing an Elasticsearch date field with the start date
  • in case start date is only a year, set it to Jan 1 of that year

actual

  • doesn't exist as a root attribute
  • this data might be in the parsed_document attribute for Clearmash documents
@OriHoch
Copy link
Contributor Author

OriHoch commented Jun 20, 2017

the format of the field should be standard ISO date/time in UTC:

for example:
1950-01-01T00:00:00Z

@Libisch Libisch self-assigned this Jun 20, 2017
@OriHoch
Copy link
Contributor Author

OriHoch commented Jul 10, 2017

@Libisch are you working on it? if not, please un-assign yourself and move back to new issues

@Libisch
Copy link
Contributor

Libisch commented Jul 20, 2017

#66 merged

@Libisch Libisch removed their assignment Aug 9, 2017
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