lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Bhatnagar <abhatna...@vantage.com>
Subject autocomplete
Date Fri, 30 Oct 2009 18:43:44 GMT

Hi guys,

Enterprise 1.4 Solr Book (AutoComplete) says this works - 

My query looks like - 

"q=*:*&fq=ac:*all*&wt=json&rows=15&start=0&indent=on&omitHeader=true&json.wrf=?";


And it returns three results


{
 "responseHeader":{
  "status":0,
  "QTime":38,
  "params":{
	"indent":"on",
	"start":"0",
	"q":"*:*",
	"wt":"json",
	"fq":"ac:*all*",
	"rows":"15"}},
 "response":{"numFound":3,"start":0,"docs":[
	{
	 "id":"1",
	 "ac":"Can you show me all the results"},
	{
	 "id":"2",
	 "ac":"Can you show all companies "},
	{
	 "id":"3",
	 "ac":"Can you list all companies"}]
 }}



But browser says syntax error -- 


Ankit




 
  





 
 

Mime
View raw message