A ha,I have found the root cause , the Solr has return the result  properly
.The root cause is the SolrPHPClient, The SolrPHPClient uses
file_get_contents function for connecting to Solr by default ,this function
 is not stable, usually returns http status error.

thanks for everybody who gives me help.Good luck for you!

2011/8/2 Chris Hostetter <hossman_luc...@fucit.org>

>
> : thanks for the reply. This is tomcat log files on my Solr Server:
> : I found that : if the server returns status=0 and QTime=0, the
> SolrPhpClient
> : will throughs an Exception. But the same query String will not always
> return
> : status=0 and QTime=0.  The Query String is valid, I have tested them in
> Solr
>
> I know nothing about PHP but if your client code is throwing an exception
> anytime status=0 and QTime=0 then it sounds like a bug in your client code
> -- there is no reason why those two numbers being 0 should be considered
> an error.  It just means the request was processed in under a millisecond.
>
>
> -Hoss
>

Reply via email to