初学Solr从网上下载了一个例子,但是运行时报以下错误:Fatalerror:Uncaughtexception'Apache_Solr_HttpTransportException'withmessage''400'Status:BadRequest'in/Applications/XAMPP/xamppfiles/htdocs/phpSolr/SolrPhpClient/Apache/Solr/Service.php:338Stacktrace:#0/Applications/XAMPP/xamppfiles/htdocs/phpSolr/SolrPhpClient/Apache/Solr/Service.php(1170):Apache_Solr_Service->_sendRawGet('http://localhos...')#1/Applications/XAMPP/xamppfiles/htdocs/phpSolr/index.php(78):Apache_Solr_Service->search('name:????',0,10)#2{main}thrownin/Applications/XAMPP/xamppfiles/htdocs/phpSolr/SolrPhpClient/Apache/Solr/Service.phponline338从网上找过答案,大部分都说是schema.xml中没有定义field,但是我确认我使用的field都说定义了,实在是不知道为什么了,希望有人知道!!
SMILET
有只小跳蛙
相关分类