jquery的php访问solr?(php of jquery to access solr?)
我是初学者使用solr。
我知道你可以使用ajax solr或solr-php-client从solr获取搜索结果。
但是我应该使用哪种或有时候需要选择其中之一?
例如,哪一个是更好的自动完成解决方案,哪个更适合线程中的搜索内容?
如果有人能够阐明这一点,我们将不胜感激。
im a beginner in using solr.
i know that you can either use ajax solr or solr-php-client to get the search results from solr.
but which should i use or are there occasions you have to choose one of them?
for example, which one is a better solution for autocompletion and which one is better for search content in threads?
would appreciate if someone could shed a light on this.
最满意答案
使用PHP(或另一种服务器端语言)实现基本功能。 使用客户端JS的可选附加组件。 建立在有效的东西上。 Use PHP (or another server side language) for essential functionality. Use client side JS for optional extras. Build on stuff that works.更多推荐
发布评论