Plugin Author
WPSOLR
(@wpsolr)
Try
http://localhost:8983/solr/posts/select?q=text:coffee
If you cannot, that means your schema.xml from WPSOLR is not loaded on your index ‘posts’.
Yes its shows “undefined field text”.
But I have schema.xml file copied on server/solr/posts/conf/schema.xml.
Do I need to change anything on this?
Plugin Author
WPSOLR
(@wpsolr)
You have to reload this index from the Solr admin.
Once after I reload like this ,
http://localhost:8983/solr/admin/cores?action=RELOAD&core=posts
I got “The schema has been upgraded to managed, but the non-managed schema schema.xml is still loadable. PLEASE REMOVE THIS FILE.” in log.
And I am getting this in solr server,
SolrCore Initialization Failures
coreX: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error opening new searcher
I got this while reload http://localhost:8983/solr/admin/cores?action=RELOAD&core=posts
<response>
<lst name=”responseHeader”>
<int name=”status”>0</int>
<int name=”QTime”>429</int>
</lst>
</response>
Plugin Author
WPSOLR
(@wpsolr)
If your Solr server is 5.x, you must use the WPSOLR 5.x configuration files.
Can you check that ?
Yes I have used the schema and solrConfig from this WPSOLR for Solr 5.x
http://wpsolr.com/releases/#1.0
Do I need make any change on schema.xml/solrconfig?
Plugin Author
WPSOLR
(@wpsolr)
The schema has been upgraded to managed, but the non-managed schema schema.xml is still loadable. PLEASE REMOVE THIS FILE.
This error seems to tell your solrconfig.xml is defining a managed schema, which would mean you are not using our solrconfig.xml
See https://cwiki.apache.org/confluence/display/solr/Managed+Schema+Definition+in+SolrConfig
Thanks.. I got it working by replace conf files with original .