Project

General

Profile

Task #7384

Metacat MN solr query should support the symbol "?"

Added by Jing Tao over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
Metacat
Target version:
Start date:
2015-09-24
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Currently the query works:
https://mn-dev-ucsb-2.test.dataone.org/metacat/d1/mn/v2/query/solr/q=identifier:testV1CreateV2Query_2015266121357718

But this one doesn't:
https://mn-dev-ucsb-2.test.dataone.org/metacat/d1/mn/v2/query/solr/?q=identifier:testV1CreateV2Query_2015266121357718

The difference is the if there is a "?" before query.

We need to make the second query work:
"The caller is reponsible for providing a ‘?’ to indicate the start of the query string portion of the URL, as well as proper URL escaping."

http://jenkins-1.dataone.org/jenkins/job/API%20Documentation%20-%20trunk/ws/api-documentation/build/html/apis/MN_APIs.html#MNQuery.query

History

#1 Updated by Jing Tao over 8 years ago

  • Category set to Metacat
  • Assignee set to Ben Leinfelder
  • Target version set to CCI-2.0.0

#2 Updated by Ben Leinfelder over 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0

Updated the handler to use the query string (since we changed how/when the request is decoded). Can still use either form, but the correct one now works.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)