-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
I need to override the default value of responseWiter in Query annotation. The default value is javabin. But the solr server is expecting wt=json. Eg -
org.apache.solr.core.SolrCore: [ac_shard1_replica2] webapp=/solr path=/suggest_keyword params={fl=keyword,user_count&sort=user_count+desc&indent=true&q=jea&wt=json&rows=5} hits=14 status=0 QTime=1
But when I am using @query the generate log is -
org.apache.solr.core.SolrCore: [ac_shard1_replica2] webapp=/solr path=/suggest_keyword params={start=0&q=keyword:app&wt=javabin&qt=/suggest_keyword&version=2&rows=0} hits=0 status=0 QTime=1
And solr server returning some html file to this but the json response. How can I set the value to json instead of javabin ??
Thanks in advance.