New posts not being indexed
- jnearsParticipant1 year, 2 months ago #38484
Hi
I have noticed that new posts are not automatically indexed. I need to click the button to index them manually.
We are using version 23.4 of WPSOLR.
I have NOT checked the box to disable real-time indexing.
The posts are a combination of manually added by site editors (news, events, etc.) and posts created via nightly import from an external XML feed. The content from the XML feed is imported using the WP All Import module (called via a cron job).
I noticed there is an Extension for the WP ALL Import module. Should I use this for the posts called from the external feed, or should I refer to this post: https://www.wpsolr.com/forums/topic/real-time-indexing-after-updates-via-api? As I currently don’t have dev version of the site with WP Solr installed I don’t want to make too many changes.
Regarding the manually added posts, I read on one of your support posts that version 23.6 might fix this issue? https://www.wpsolr.com/forums/topic/real-time-indexing-not-working/page/2/
Many thanks
Jonathan
wpsolrKeymaster1 year, 2 months ago #38486This will be fixed with Release 23.6
jnearsParticipant10 months ago #44679I have noticed when I enter the admin area, I get the following warning message in the html:
Warning: Undefined array key “wpsolr-pro/wpsolr-pro.php” in …/wp-content/plugins/wpsolr-pro/wpsolr/pro/class-wpsolr-pro-updates.php< on line 249
FYI – I’m using PHP 8.0.29
Will send links to the screenshots.
jnearsParticipant10 months ago #44680Here are the screenshots
https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/screen2-2.png
https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/screen2-2-1.png
https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/screen2-2-2.png
https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/screen2-2-3.png
jnearsParticipant10 months ago #44681I have also noticed the following issue in the logs
[17-May-2024 09:43:35 UTC] (WPSOLR) Attribute is different from escaped value: selected=’selected’ => selected='selected'
One of the fields contains special characters that are run through a function to display the contents.
jnearsParticipant10 months ago #44694The site only has one index.
Our indexes are hosted on Opensolr (https://opensolr.com/)
I do have another index in our account, but this is used for another website.
jnearsParticipant10 months ago #44696It could be a plugin conflict. However, as this is a live site, it is difficult to test without causing issues for end users.
Do you provide a free or cheap dev license so I can place your module on our test site? This would be really useful and reduce the need for me to use the forum, as I could try various options first.
Alternatively, is there a function/hook built into your module that I can call using a Cron job that will index the non-indexed content? i.e does the same job as the button ‘Index selected post types in index …’ under the Tab 3.0 ‘Send your data’ (this manual process does successfully index new content).
wpsolrKeymaster10 months ago #44699You could use the Cron Scheduling add-on to schedule an incremental/full indexing.
You must be logged in to reply to this topic.