Advertisement
Guest User

Solr JSON Facet API Response

a guest
Feb 15th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.50 KB | None | 0 0
  1. {
  2.   "responseHeader":{
  3.     "status":400,
  4.     "QTime":3,
  5.     "params":{
  6.       "df":"text",
  7.       "debug":"true",
  8.       "json.nl":"map",
  9.       "indent":"true",
  10.       "echoParams":"all",
  11.       "fl":"project_titles_txt",
  12.       "fq":["geo_coords:[22.258,84.8884 TO 22.258,84.8884]",
  13.         "bundle:pop_sample",
  14.         "has_abundance_data_b:true",
  15.         "has_geodata:true",
  16.         ""],
  17.       "rows":"1",
  18.       "q":"*:*",
  19.       "json":"{\"filter\":[\"bundle:pop_sample\",\"has_abundance_data_b:true\",\"has_geodata:true\",\"\"],\"facet\":{\"term\":{\"type\":\"terms\",\"limit\":-1,\"field\":\"species_category\",\"facet\":{\"collection_dates\":{\"type\":\"terms\",\"limit\":-1,\"field\":\"collection_date\",\"facet\":{\"collection\": {\"type\":\"terms\",\"field\":\"collection_assay_id_s\",\"facet\":{\"abnd\":\"sum(div(sample_size_i, collection_duration_days_i))\"}}}}}}}}",
  20.       "term":"species_category",
  21.       "wt":"json",
  22.       "facet":"true"}},
  23.   "response":{"numFound":4,"start":0,"docs":[
  24.       {
  25.         "project_titles_txt":["Increasing the potential for malaria elimination by targeting zoophilic vectors"]}]
  26.   },
  27.   "facet_counts":{
  28.     "facet_queries":{},
  29.     "facet_fields":{},
  30.     "facet_ranges":{},
  31.     "facet_intervals":{},
  32.     "facet_heatmaps":{}},
  33.   "error":{
  34.     "metadata":{
  35.       "error-class":"org.apache.solr.common.SolrException",
  36.       "root-error-class":"org.apache.solr.common.SolrException"},
  37.     "msg":"Invalid Date String:'Fri Aug 01 00:00:00 UTC 2014'",
  38.     "code":400}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement