• Resolved imwebdev

    (@imwebdev)


    i am looking to use this WordPress plugin to crawl a table that is not a post or category, but has been added to the WordPress database. I want to know if it’s possible to be able to crawl and index it so I can deliver search results on my WordPress site

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hi @imwebdev ,

    Yes it’s possible to crawl custom tables too.
    You will need to ofcourse code the indexing part as that can’t be auto covered.

    Please see documentation here :
    https://docs.wptypesense.com/advanced-custom-post-types/

    You’ll need to modify it to index according to your custom table.

    @digamberpradhan do you have any examples of such?

    I’m trying to integrate WooCommerce HPOS orders so that they work without compatibility mode.

    Using only the WooCommerce order tables instead of the WP posts table.

    Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hi @oarnarsson

    If you’re trying to search the orders – i’m afraid we haven’t built a way to do so.
    If however you’re only interested in the showing the Shop and other we have a premium plugin for that.

    I’m assuming you would have to hook into order update and run the indexing code.
    I don’t know for sure though as I haven’t personally done this.

    I see, thank you for the reply @digamberpradhan .

    My goal is to treat the HPOS orders as you treat products in the premium plugin.

    That is, to make the searchable just like products.

    I’ve asked for an estimate for this task via email, hope to hear from you there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.