Forum Replies Created

  • wpsolr
    Keymaster

    I need to pass as lat and long to search, Instead of the indexed acf geolocation field value? Can you help me with the hook ?

    You can use the hook WPSOLR_Events::WPSOLR_FILTER_POST_CUSTOM_FIELDS to fill your custom field with your own lat,long values. An example can be found in file wpsolr-pro/wpsolr/pro/extensions/woocommerce/class-wpsolr-plugin-woocommerce.php

    Suppose a post should come on top for 3 Lat/Longs values

    I’m not sure it is possible to have an array of lat,long values in an indexed field.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Using custom facets.twig throws an error #33154

    WPSOLR do not provide a way to update the facets twig templates.

    You can only use CSS.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: WPSOLR – One hour of remote chat #33141

    Thanks for contacting us. I noticed your order indeed, which I had refunded because this offer does not apply anymore.

    Can you describe what you would like from WPSOLR?

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Exclude Products to index based on ACF Field #33138

    WPSOLR_Events::WPSOLR_FILTER_SQL_QUERY_STATEMENT can be used to filter indexed data: /forums/reply/30869/

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33135

    It could also mean you current search page is not the standard WP archive. WPSOLR replaces archives selected in screen 2.1: search, taxonomies, tags, … and shop for WooCommerce.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33133

    In the monitor, you should see the origin of the SQL query: the plugin or wp core file.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33131

    You should not see this SQL query. Where does it come from in the query monitor trace?

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33128

    You should also try without the other plugins.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33127

    Refresh the page (F5). I checked, your subscription’s deactivation worked on our license backend.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Slow keyword search #33106

    Deactivate your license, then reactivate it.

    wpsolr
    Keymaster

    What makes you think it is called from WPSOLR?

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Manually Send WC Product ids to Index #33094

    You can configure a cron job to reindex in the background

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Title Ascending order only for category pages #33087

    You can use this hook:

    use wpsolr\core\classes\WPSOLR_Events;
    
    add_filter( WPSOLR_Events::WPSOLR_FILTER_SORT_FIELDS, 'wpsolr_filter_sort_fields', 10, 1 );
    
    public function wpsolr_filter_sort_fields($default_sort_fields) {
       // If current page is a category, then modify default_sort_fields
       (...)
       return $default_sort_fields; // array of field names
    }
    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Manually Send WC Product ids to Index #33086

    Just update the published date in the database with current time for the posts to be indexed. They will appear in the reindex batch list.

    wpsolr
    Keymaster
    3 years, 5 months ago in reply to: Manually Send WC Product ids to Index #33079

    No need to do anything.
    When a post is published, it will be indexed in real-time, but also part of the next batch incremental indexing, as its publication date will be above the watermark (the watermark, in yellow in your screenshot, is the publication date of the last indexed post).

Viewing 15 posts - 586 through 600 (of 3,679 total)