Plugin Author
WPSOLR
(@wpsolr)
DId you apply our solrconfig.xml and schema.xml for Solr 5.0 ?
Yes I did. I have taken these steps:
1. create new core from Solr Terminal solr create -c wordpress
2. copied (overwritten) solrconfig.xml and schema.xml in solr/wordpress/conf/ (where solr is my Solr server instance home folder)
I would be happy to debug if you could point me to the right direction…
Solr Log http://pastebin.com/xC5rV0ri
Maybe this can help?
Plugin Author
WPSOLR
(@wpsolr)
It could be a problem with an empty attachment.
Did you select attachments for indexing ?
No attachments selected. I have alternatively tried indexing pages or posts only, but I am getting the errors either way
Hi again,
I have been trying to debug the issue, but no luck. I wonder if could have a look at this picture: http://picpaste.com/pics/Screen_Shot_2015-06-15_at_09.52.51_copy_2-cOAH2DK9.1434355314.png
It’s from my debug console, it shows the $documents array that is passed to wp_Solr::send_posts_or_attachments_to_solr_index();
Is there anything wrong with it?
Plugin Author
WPSOLR
(@wpsolr)
Can you try the newest WPSOLR version ?
It’s compliant with all Solr versions.
Great, it does work ok now!
Out of curiosity…are the changes recent? I originally downloaded the plugin last week only.
Great stuff anyway, thanks for support!
Plugin Author
WPSOLR
(@wpsolr)
The changes are from yesterday.
We are using a php Solr library, which was not compatible with Solr 5.x
I’ve added my own patch for Solr 5.0, but it proved not to be so good.
And yesterday, the library released a Solr 5.x compatible version, which I was more than happy to apply.