How are custom fields indexed?

  • pseudo visitor
    Participant
    5 years, 4 months ago #9270

    Hello,

    We are using WPSOLR plugin and need your support regarding where and how data about featured product is being stored in index.

    wpsolr
    Keymaster
    5 years, 4 months ago #9271

    Hi,

    What is your question exactly ?

    pseudo visitor
    Participant
    5 years, 4 months ago #9272

    Well, we are working on Solr index and search optimization. We need to send information about wether product is featured or not to index so we can create results taking that into account.

    Currently we dont know/see wether WPSOLR is taking this info and sending to index and if – what is field name for that info in index.

    wpsolr
    Keymaster
    5 years, 4 months ago #9273

    If “feature” is a taxonomy, you just need to select it in screen 2.2 to index it.

    pseudo visitor
    Participant
    5 years, 4 months ago #9274

    I tried to find it but we have so many taxonomies and fields.
    What woudl be default name for it?
    I see 3 fields with featured in name (fetaured_Item_category, featured_item_tag and inline_featured_image).
    None of these seems to be info we need.

    wpsolr
    Keymaster
    5 years, 4 months ago #9275

    “featured_Item_category” is probably the one.

    pseudo visitor
    Participant
    5 years, 4 months ago #9276

    It does not look like that from this side – but we will check again

    Second question – is there a way to call indexing from outside the admin and not only through admin page of WPSOLR?

    wpsolr
    Keymaster
    5 years, 4 months ago #9277

    Yes, there is a WPSOLR extension named “Crontab”:

    Video – WPSOLR PRO + Crontab + Elasticsearch

    You configure which data to index in which index. The extension will generate JSON api that you can call from your external crontabs.

    pseudo visitor
    Participant
    5 years, 4 months ago #9278

    OK – that is to setup cron job to run in regular intervals.
    Tanks for info.
    We will check this featured product issue and come back if we have additional questions

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

You must be logged in to reply to this topic.