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
: 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 i
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
Ad
: page is loaded. Then I found a problem: some request will return
: statusCode:0 and QTime:0, The solr has accepted the request, but It does not
: return a result document. If I send each request one by one manually ,It
: will return the result. But If I send the request frequently in a very
:
The first thing that comes to mind is to check whether you are
committing after every insert. A number of things may happen when you
commit, including merges, rebuilding the spelling dictionary (is this
still true in 3.3? maybe not). It's better to commit after a batch of
inserts.
-Mike
O
Thanks for reply ,the Solr server uses dataimporthandler, it can import 60
thousands records(about 4G index files) properly in about 30 minutes. So I
think the memory is enough.
Do you know some performance factors about SolrPhpClient ?
2011/7/31 O. Klein
> I don't have much experience with S
I don't have much experience with Solr on windows, but have you given Solr
enough java heap size etc?
Im assuming you are running Solr stand alone. Maybe try and run it in
Tomcat?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-request-filter-and-indexing-process-tp32129
thank you for reply my message. But the developer machine is a new Dell PC
with windows7 and 4G memory.
If I add 10 document through SolrPHPClient's addDocuments function with XML
format, It will takens about more than five seconds.
This speed must be unacceptable to our user.
I have already disabl
Might wanna check your resources, like memory and diskspace.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-request-filter-and-indexing-process-tp3212907p3213512.html
Sent from the Solr - User mailing list archive at Nabble.com.