You can have a look at this page:
http://wiki.apache.org/solr/DataImportHandler#HTTPPostScheduler
this scheduler can post not only command like delta-import but also command
like full-import
you can use the task scheduler of windows or tomcat listener ,the related
solution is posted on the solr wiki
http://wiki.apache.org/solr/DataImportHandler#HTTPPostScheduler
I am using solr1.3,I updated solr index throgh solr delta import every two
hours. but the delta import is database connection wasteful.
So i want to use full-import with entity name instead of delta import.
my db-data-config.xml file:
then I uses
http://192
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 in Solr
Ad
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
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
Hello,Dear friends,
I have got an problem in developing with solr.
In My Application ,It must sends multiple query to solr server after the
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
Hello,Dear friends,
I have got an problem in developing with solr.
In My Application ,It must sends multiple query to solr server after the 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 re