|
[HepData-svn] r1907 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pagesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Nov 10 16:34:07 GMT 2015
Author: watt Date: Tue Nov 10 16:34:07 2015 New Revision: 1907 Log: Search: update Inspire search command from 856:DURHAM to 520:hepdata Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/Search.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/Search.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/Search.java Tue Nov 10 16:33:13 2015 (r1906) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/Search.java Tue Nov 10 16:34:07 2015 (r1907) @@ -243,7 +243,7 @@ tempquery[1]=tempquery[1].replaceAll("\\s+","+"); String which = ""; if(!tempquery[0].equals("")){ which = tempquery[0] + ":";} - HttpGet httpget = new HttpGet("http://inspirehep.net/search?p="+which+tempquery[1]+"+and+856:DURHAM&of=tm&ot=001&jrec="+recstart+"&rg="+reclength); + HttpGet httpget = new HttpGet("http://inspirehep.net/search?p="+which+tempquery[1]+"+and+520:hepdata&of=tm&ot=001&jrec="+recstart+"&rg="+reclength); ResponseHandler<String> responseHandler = new BasicResponseHandler(); try { String responseBody = httpclient.execute(httpget, responseHandler);
More information about the HepData-svn mailing list |