<div dir="ltr"><div style="font-size:12.8px">This email will be of interest to LTER IMs or others who are currently using the PASTA API web services for searching data packages through our Apache Solr index. Anyone not currently using this web service can safely ignore this message.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The PASTA web service API for searching data packages is documented here:</div><div style="font-size:12.8px">  </div><div style="font-size:12.8px"><a href="http://pastaplus-core.readthedocs.io/en/latest/doc_tree/pasta_api/data_package_manager_api.html#browse-and-discovery" target="_blank">http://pastaplus-core.<wbr>readthedocs.io/en/latest/doc_<wbr>tree/pasta_api/data_package_<wbr>manager_api.html#browse-and-<wbr>discovery</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">For reasons of simplicity, we would like remove three XML elements from the search results that have never been documented as part of the API but have been retained in case there is extant client code that relies on them. These three undocumented elements are also redundant with three corresponding elements that are documented in the API.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The undocumented elements that we propose to remove from the search results are the "<docid>", "<packageId>" and "<pubDate>" elements. Client programs that are coded to use the contents of these elements should be updated to use the contents of the corresponding documented versions of these elements: "<id>", "<packageid>", and "<pubdate>", respectively. (Note that the latter two differ only in the case of one character: "packageId" versus "packageid", and "pubDate" versus "pubdate".)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Below is an example query demonstrating how the XML search results will appear before and after we make the change to remove the three redundant, undocumented elements:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Query:</div><div style="font-size:12.8px">curl -X GET "<a href="https://pasta.lternet.edu/package/search/eml?defType=edismax&start=0&rows=50&q=*&fq=scope:edi*&fl=id,packageid,pubdate&sort=score,desc&sort=packageid,asc&debug=false" target="_blank">https://pasta.lternet.edu/<wbr>package/search/eml?defType=<wbr>edismax&start=0&rows=50&q=*&<wbr>fq=scope:edi*&fl=id,packageid,<wbr>pubdate&sort=score,desc&sort=<wbr>packageid,asc&debug=false</a>"</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Current search results (first returned document only):</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><document></div><div style="font-size:12.8px">    <id>edi.1</id></div><div style="font-size:12.8px">    <docid>edi.1</docid></div><div style="font-size:12.8px">    <packageid>edi.1.1</packageid></div><div style="font-size:12.8px">    <packageId>edi.1.1</packageId></div><div style="font-size:12.8px">    <pubdate>2016</pubdate></div><div style="font-size:12.8px">    <pubDate>2016</pubDate></div><div style="font-size:12.8px"></document></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">After we make the proposed change:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><document></div><div style="font-size:12.8px">    <id>edi.1</id></div><div style="font-size:12.8px">    <packageid>edi.1.1</packageid></div><div style="font-size:12.8px">    <pubdate>2016</pubdate></div><div style="font-size:12.8px"></document></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We would like to deploy this change to PASTA in 2-3 weeks. Please let me know of any questions or concerns.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Duane</div></div>