Re: Solr request filter and indexing process

2011-08-03 Thread 于浩
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

Re: Solr request filter and indexing process

2011-08-01 Thread Chris Hostetter
: 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

Re: Solr request filter and indexing process

2011-08-01 Thread 于浩
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

Re: Solr request filter and indexing process

2011-07-31 Thread Chris Hostetter
: 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 :

Re: Solr request filter and indexing process

2011-07-31 Thread Michael Sokolov
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

Re: Solr request filter and indexing process

2011-07-31 Thread 于浩
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

Re: Solr request filter and indexing process

2011-07-31 Thread O. Klein
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

Re: Solr request filter and indexing process

2011-07-31 Thread 于浩
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

Re: Solr request filter and indexing process

2011-07-31 Thread O. Klein
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.