Created
May 11, 2012 11:04
-
-
Save robyoung/2659003 to your computer and use it in GitHub Desktop.
Solr Autocomplete Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'http://govuk:8983/solr/licence-finder/select?q=autocomplete%3Amanag%2A&wt=ruby&qt=standard&rows=5&start=0&fl=title%2Clink%2Cformat&indent=on' | |
{ | |
'responseHeader'=>{ | |
'status'=>0, | |
'QTime'=>0, | |
'params'=>{ | |
'fl'=>'title,link,format', | |
'indent'=>'on', | |
'start'=>'0', | |
'q'=>'autocomplete:manag*', | |
'wt'=>'ruby', | |
'qt'=>'standard', | |
'rows'=>'5'}}, | |
'response'=>{'numFound'=>7,'start'=>0,'docs'=>[ | |
{ | |
'title'=>'Claims management'}, | |
{ | |
'title'=>'Claims management'}, | |
{ | |
'title'=>'General management consultancy'}, | |
{ | |
'title'=>'Property management services'}, | |
{ | |
'title'=>'Holding company management'}] | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment