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

Index new project documents #1350

Closed
laurenwalker opened this issue Apr 26, 2019 · 4 comments
Closed

Index new project documents #1350

laurenwalker opened this issue Apr 26, 2019 · 4 comments
Assignees
Milestone

Comments

@laurenwalker
Copy link
Member

Create new subprocessor to index the new project documents used in MetacatUI for the project views. The new formatId for project documents is http://ecoinformatics.org/project-beta1 (registered only in stage-2 so far)

@laurenwalker laurenwalker added enhancement New feature or request Category: index labels Apr 26, 2019
@laurenwalker laurenwalker added this to the 2.11 milestone Apr 26, 2019
@laurenwalker laurenwalker self-assigned this Apr 26, 2019
@laurenwalker
Copy link
Member Author

laurenwalker commented May 7, 2019

Indexing for project documents was added in dd04d30

The fields indexed for projects are:

  • projectName - the <name> field
  • title - the <label> field
  • abstract - the <description> field
  • logo - the <logo> field
  • investigator - the <associatedParty> <individualName> or <organizationName>
  • funderName - the <funderName> field in each <award>
  • funderIdentifier - the <funderIdentifier> field in each <award>
  • awardNumber - the <awardNumber> field in each <award>
  • awardTitle - the <awardTitle> field in each <award>

@laurenwalker
Copy link
Member Author

laurenwalker commented Aug 8, 2019

I need to merge in the feature branch that has EML 2.2.0 support so that the new index fields for funders and awards are used for projects, which use the EML 2.2.0 AwardType. In the referenced commit, I added some funder and award fields, but I should reuse whatever is already in the EML 2.2.0 branch.

I also need to update the bean for the logo field, since we updated the schema to use the ImageType for the logo.

@vchendrix
Copy link
Collaborator

What ramifications, if any, does this have for data packages that use the previous version of EML?

@laurenwalker
Copy link
Member Author

The particular changes described in this ticket are about the new Project XML documents, which use a couple EML 2.2.0 types in its XML schema (The AwardType and TextType). The project indexing will use funder and award Solr fields to store funder and award information about the project, taken directly from the project document XML.

EML 2.1.1 documents will continue to be indexed as-is. EML 2.2.0 documents will get indexed with these new funder and award fields.

laurenwalker added a commit that referenced this issue Aug 13, 2019
@laurenwalker laurenwalker modified the milestones: 2.11, 2.12.0 Oct 30, 2019
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