Any Action to synchronize new posts without clicking on Indexing button.

  • prakashreddy.imduri
    Participant
    1 month, 2 weeks ago #31323

    Hi, is there any code with which we can index new posts, without have to click on the index button. Can you help me with it, as daily we have some posts additions.
    Image rsss.png of Any Action to synchronize new posts without clicking on Indexing button.

    • This topic was modified 1 month, 2 weeks ago by wpsolr.
    wpsolr
    Keymaster
    1 month, 2 weeks ago #31324

    Your posts are indexed in real-time, unless you choose “No real-time” on screen 2.2

    What you see on the synchronize page is a safety feature: all posts indexed in real time are also marked to be re-indexed during the batch indexing, in case the real-time indexing did not go right for any odd reason (network or server issues).

    prakashreddy.imduri
    Participant
    1 month, 2 weeks ago #31334

    We upload products through csv daily, so we have access to run some code while doing the upload functionality, Can you help with some hook or action, to index new posts.

    wpsolr
    Keymaster
    1 month, 2 weeks ago #31335

    The imported products should be indexed in real-time during too.

    prakashreddy.imduri
    Participant
    1 month, 2 weeks ago #31337

    those are not getting indexed, just showing up in synchronized products. Unless we don’t hit on index, those aren’t showing in search results. We have a custom code to import those products from csv.

    wpsolr
    Keymaster
    1 month, 2 weeks ago #31338

    Then you can just call the ‘Save_post’ action to trigger WPSOLR’s indexing.

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

You must be logged in to reply to this topic.