Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created March 4, 2015 19:28
Show Gist options
  • Save jcoyne/656666ddbc216dc4e696 to your computer and use it in GitHub Desktop.
Save jcoyne/656666ddbc216dc4e696 to your computer and use it in GitHub Desktop.
HTTP GET (8.38ms) http://127.0.0.1:8983/solr/test/select?wt=ruby&qt=search&facet.field=active_fedora_model_ssi&facet.field=location_label_sim&facet.field=creator_label_sim&facet.field=lc_subject_label_sim&facet.field=publisher_sim&facet.field=year_iim&facet.field=form_of_work_label_sim&facet.field=collection_label_ssim&fq=has_model_ssim:("Image")&qf=title_tesim+lc_subject_label_tesim&rows=10&sort=score+desc,+date_si+desc,+creator_label_si+asc
Response status Net::HTTPOK (200)
Response body {'responseHeader'=>{'status'=>0,'QTime'=>4,'params'=>{'sort'=>'score desc, date_si desc, creator_label_si asc','qf'=>'title_tesim lc_subject_label_tesim','facet.field'=>['active_fedora_model_ssi','location_label_sim','creator_label_sim','lc_subject_label_sim','publisher_sim','year_iim','form_of_work_label_sim','collection_label_ssim'],'qt'=>'search','wt'=>'ruby','fq'=>'has_model_ssim:("Image")','rows'=>'10'}},'response'=>{'numFound'=>1,'start'=>0,'maxScore'=>1.0,'docs'=>[{'system_create_dtsi'=>'2015-03-04T19:26:04Z','system_modified_dtsi'=>'2015-03-04T19:26:04Z','active_fedora_model_ssi'=>'Image','has_model_ssim'=>['Image'],'id'=>'65/48/cf/7c/6548cf7c-1ef7-4b57-9105-d954836ca955','object_profile_ssm'=>['{"id":"65/48/cf/7c/6548cf7c-1ef7-4b57-9105-d954836ca955","identifier":[],"accession_number":[],"title":null,"alternative":[],"creator":[],"collector":[],"contributor":[],"description":[],"latitude":[],"language":[],"longitude":[],"location":[],"lc_subject":[],"publisher":[],"work_type":[],"series_name":[],"issued":[],"issued_start":[],"issued_end":[],"created_start":[],"created_end":[],"date_other":[],"form_of_work":[],"citation":[],"digital_origin":[],"note":[],"description_standard":[],"extent":[],"sub_location":[],"record_origin":[],"use_restrictions":[]}'],'_version_'=>1494742115370926080,'timestamp'=>'2015-03-04T19:26:05.079Z','score'=>1.0}]},'facet_counts'=>{'facet_queries'=>{},'facet_fields'=>{'active_fedora_model_ssi'=>['Image',1],'location_label_sim'=>[],'creator_label_sim'=>[],'lc_subject_label_sim'=>[],'publisher_sim'=>[],'year_iim'=>[],'form_of_work_label_sim'=>[],'collection_label_ssim'=>[],'active_fedora_model_ssi'=>['Image',1],'location_label_sim'=>[],'creator_label_sim'=>[],'lc_subject_label_sim'=>[],'publisher_sim'=>[],'year_iim'=>[],'form_of_work_label_sim'=>[],'collection_label_ssim'=>[]},'facet_dates'=>{},'facet_ranges'=>{},'facet_intervals'=>{}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment