usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Fix/odd 908 913 914 search syntax #159

Closed chuanlin2018 closed 3 years ago

chuanlin2018 commented 3 years ago

This branch covers three Jira tickets. ODD908: http://mml.nist.gov:8080/browse/ODD-908. Changed "This data is referenced in" to "This data are referenced in".

ODD913: http://mml.nist.gov:8080/browse/ODD-913. "Resources by Authors" is now sending requests to SDP in following format: (example) authors.fn="Z. H. Levine","A. R. Peskin","A. Holmgren","E. Garboczi" OR contactPoint.fn="Zachary Levine"

ODD914: http://mml.nist.gov:8080/browse/ODD-914. "Similar Resources" is now sending requests to SDP in following format: (example) keyword="ab initio","atomization enthalpy","basis functions","benchmark data",benchmarks,"bond angle".

RayPlante commented 3 years ago

@deoyani Please look at the author search given in the description above. Will this actually work as intended?

I believe the intention of the query is that we want any other record having an author or contact that matches one of the authors or contact in this record. I'm concerned about the author.fn constraint. Given that this value is stored in a fundamentally different way, will that search constraint work the way we want it to?