Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    Hi,

    You can only use WPSOLR widgets with your theme, by selecting option ‘1. Use my theme’ in WPSOLR admin (2.1)

    Thread Starter ikdekker

    (@ikdekker)

    That does work, however I want to use facets, and those dont show up even when using the “twentyfifteen” WP theme.

    I am testing with a clean WordPress install.

    Thread Starter ikdekker

    (@ikdekker)

    Thread Starter ikdekker

    (@ikdekker)

    If I use the option with my own theme, I can select the widget but I dont have autocompletion then.

    The facets also gives an error when I click one checkbox.
    The error looks like this:

    Fatal error: Uncaught exception 'Solarium\Exception\HttpException' with message 'Solr HTTP error: OK (400) {"error":{"msg":"undefined field _price","code":400}} ' in C:\wamp\www\solrcleanwp\wp-content\plugins\wpsolr-search-engine\vendor\solarium\solarium\library\Solarium\Core\Query\Result\Result.php:103

    Plugin Author WPSolr free

    (@wpsolr)

    If you want autocomplete, select the ajax method instead.

    Thread Starter ikdekker

    (@ikdekker)

    The results and autocomplete do work, but the filters dont work on my custom fields. It always shows all the results and when I reload it gives the error as I posted above.

    Should I write code for this myself? Or is there support for this?

    The url is now appended with: ?wpsolr_q=summum&wpsolr_fq%5B0%5D=model%3AS60

    For reference: https://imgur.com/0JWclSL

    Thread Starter ikdekker

    (@ikdekker)

    I got the facet selection working, but the thing is I have to append the taxonomy name in the URL with “_str”.

    So with the taxonomy ‘%5D=brand%3AMini’ it would become ‘%5D=brand_str%3AMini’

    I changed line 32 in this file
    wpsolr-search-engine\classes\ui\WPSOLR_Data_facets.php
    to this:
    $facet_to_display_id_without_str = $facet_to_display_id;
    And everything does work.

    Is there another solution or can you change this in a future update?

    Thanks

    Plugin Author WPSolr free

    (@wpsolr)

    Is this just for taxonomies ?

    Thread Starter ikdekker

    (@ikdekker)

    Yes

    Plugin Author WPSolr free

    (@wpsolr)

    This is a bug. I will fix it in the next release.

    Thanks for the feedback.

    Plugin Author WPSolr free

    (@wpsolr)

    Fixed in WPSOLR 7.8

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘No results from search query’ is closed to new replies.