About Indexing and de-indexing new products

Home Forums Product Support Forums Ajax Search Pro for WordPress Support About Indexing and de-indexing new products

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27163
    trabica27
    trabica27
    Participant

    Hello,
    first of all great work with the search pro plugin!

    The problem we have is that it doesn’t index new products. Let me explain further.
    We have an api which inserts products every day from clients ERP. We created the api and it worked well with the previous or the default search. The main question is which hook or way do you use to index new products because probably we are missing something. Probably the same will happen when the client will delete a product but we will test it further.

    Also we scheduled from plugin dashboard to check for new products and to run a cron every hour to extend the index table

    Regards,
    George

    Attachments:
    You must be logged in to view attached files.
    #27166
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi George,

    Whenever the “save_post” or the “wp_insert_post” or the “new_to_publish” actions are triggered, the plugin will automatically index the new product.
    The screenshot only tells, that the cron job had nothing to index at that moment, but that does not mean the products are not indexed.
    If any of the above filters are triggered upon the import, then the cron will always return 0 items indexed.

    Do the stats show any items not indexed?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.