[英]Best PHP search technique for heavy database like apache solr for java
I have used apache solr in my java project smoothly, but when i come to the end to solve a same kind of issue with PHP, this issue is arising: 我已经在我的java项目中顺利使用了apache solr,但是当我最终解决PHP的同类问题时,就会出现此问题:
To run apache SOLR, we need JVM to be installed on the server. 要运行apache SOLR,我们需要在服务器上安装JVM。 But I don't know whether there is JVM installed in my client server or not. 但是我不知道客户端服务器上是否安装了JVM。 Because it is PHP apache linux server (not dedicated), I don't know whether I will get to access the console by which I can manage a bit. 因为它是PHP apache linux服务器(非专用),所以我不知道是否可以访问控制台,通过它我可以进行一些管理。
Could any body tell me what is the alternative for apache solr for simple PHP environment? 谁能告诉我简单的PHP环境中apache solr的替代方案是什么? Or please suggest me best indexing search technique for PHP. 或者,请向我建议PHP的最佳索引搜索技术。
Some options: 一些选项:
Not really an option but to answer your question, yes you can access the terminal through php but this is far from what you should really do because most shared servers disable access through php (in fact they didn't give you ssh access for a reason). 不是真正的选择,而是要回答您的问题,是的,您可以通过php访问终端,但这与您应该做的事情相去甚远,因为大多数共享服务器都禁止通过php进行访问(事实上,它们并没有为您提供ssh访问权限)。
Also because even if they forgot to close this security hole (which happens sometimes) you will exhaust your resources (ram, cpu) pretty quick and you'll have to upgrade servers anyway. 另外,因为即使他们忘记关闭此安全漏洞(有时会发生),您也将很快耗尽资源(RAM,CPU),并且无论如何都必须升级服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.