Forum Replies Created

  • wpsolr
    Keymaster

    Do you have errors in debug.log?

    wpsolr
    Keymaster

    Hello,

    You can loop on the global $wp_query->posts, to get the ID field.

    wpsolr
    Keymaster

    Nope. This feature was never there. And it seems pretty complex to develop.

    wpsolr
    Keymaster

    Not right now. You can ask for this feature in /forums/forum/technical-configuration-issues/new-features-requests/

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11067

    In your search.php, you can access the global $wp_query created by WPSOLR.

    In the field $wp_query->results_set, you will find the documents returned by Elasticsearch. You ca loop on them to show your results.

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11064

    I understand now.

    If you indexed custom data (data which is not a post type), facets and data will be retrieved from Elasticsearch. But WPSOLR will try to retrieve the $posts from the data IDs. Which he cannot, as those IDs are not from posts. Hence the empty results.

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11061

    And if you deactivate WPSOLR?

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11059

    It looks good. What is shown on your search page? ( /?s= )

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11057

    Please copy here your WPSOLR screens:
    – 2.1
    – 2.2
    – 2.4
    – 3. Send your data

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11054

    I already have set WPSOLR use my current theme search template. But would I only have to change my theme search template?

    Yes, WPSOLR is now replacing in the background your WP_Query, and sends the results back to your search.php template (standard WP loop). Nothing to change, unless you want to.

    And how do I get the facets and sort sidebar on the search page? Or is that only possible using widgets?

    Exact. Add the WPSOLR sort and facets widgets to your search page. Follow our video tutorials for the TwentySixteen theme: /guide/video-gallery-twentysixteen-theme-search-template/video-setup-demo-twentysixteen-theme-template-local-elasticsearch/ (many other tutorials are available too: /wpsolr/search/s-tutorial+twentysixteen).

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Custom data not showing #11051

    Hi Jasper,

    Instead of using the WPSOLR Ajax template, let WPSOLR use your current theme search template. You will keep 100% control of what is displayed or not.

    See: /forums/topic/customize-the-wpsolr-ajax-search-template-shortcode/

    wpsolr
    Keymaster
    wpsolr
    Keymaster

    I have a beta for you to test. Still interested?

    WPSOLR admin:select taxonomies to index:
    Image wpsolr-admin-select-index-taxonomies.png of

     

    WPSOLR admin: index taxonomies:
    Image wpsolr-admin-indexing-taxonomies.png of

     

    WPSOLR admin: suggestions showing taxonomies, grouped by content type:
    Image wpsolr-admin-suggestions-taxonomies.png of

     

    WPSOLR front-end: suggestions showing taxonomies, grouped by content type:
    WPSOLR front-end: suggestions showing taxonomies, grouped by content type

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: Case sensitive issue on search fields #11029

    Hi,

    Do you use the Boosts feature? In that case, select the dropdown list “Copy to a text field” on your fields with that issue.

    Boosts change the analyser

    With this option, the field is passed to the “text” analyser: lower cased, stemming …. It will therefore be case insensitive during search.

    wpsolr
    Keymaster
    7 years, 6 months ago in reply to: WPSOLR: error on term #11018

    I found it.

    I replaced:
    register_taxonomy( 'Manufacturer', 'product', $args );

    with:
    register_taxonomy( 'manufacturer', 'product', $args );

    It solved both problems:
    – WPSOLR now indexes products with manufacturers
    Image woo-cutom-taxonomy-manufacturers-good1.png of
    – The manufactures list now autocompletes as expected
    Image woo-cutom-taxonomy-manufacturers-good.png of

Viewing 15 posts - 3,121 through 3,135 (of 3,679 total)