How Get Suggestions from Solr Server in a PHP variable

前端 未结 1 616
悲哀的现实
悲哀的现实 2020-12-20 03:28

I\'ve got this problem that I can\'t solve. Partly because I can\'t explain it with the right terms. I\'m new to this so sorry for this clumsy question.

Below you ca

相关标签:
1条回答
  • 2020-12-20 04:03

    Your auto-suggest seems to be working (it's showing 'iphone' in the response). To display it properly on the front-end, query the solr instance using the param 'wt=json' and parse the result in jquery to display it in any fashion you want. http://www.jqueryautocomplete.com/jquery-autocomplete-json-example.html

    0 讨论(0)
提交回复
热议问题