-
Notifications
You must be signed in to change notification settings - Fork 4
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
Document.pid mapping adds the prefix pid #356
Comments
Hi @antolinos, thank you for your question. This is not mandatory as per the Data Model guide but it is a best attempt solution to make the identifiers persistent. The corresponding ICAT columns for the Considering the above, your Document with pid Relevant issue to the work mentioned above - #314 |
Dear @VKTB. Thanks for your complete explanation. Currently, the format of the results look a little bit heterogeneous. I am not sure if the PANOSC clients will be able to handle this when there is no DOI. Thanks! |
It is more a question than an issue. Why is it prefixing the field
pid
withpid:
when value is a integer?Description:
I am using the default
search_api_mapping.json
mapping file where thepid
of a document is defined as:If I do:
The returned pid values will be look like:
I see that it is not an error as it is forced in the code:
datagateway-api/datagateway_api/src/search_api/models.py
Line 253 in c674205
However, by looking at the
Document
definition given in the search-api impementation for sci-cat, I did not see that it was mandatory:https://github.com/panosc-eu/search-api/blob/master/doc/data-model.md#document
So, I was wondering the reason why there is a prefix.
Thanks!
The text was updated successfully, but these errors were encountered: