Activating options ending into solr http error 400

  • lukas
    Participant
    1 year, 6 months ago #31167

    After activating this options, I’ve got the following error in frontend:
    – 2.1 Presentation: Display “Did you mean?” in search results header ?
    – Use partial keyword matches in results
    – Use fuzzy keyword matches in results
    Solr HTTP error: Bad Request (400) { "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":"Specify at least one field, function or query to group by.", "code":400}}
    Am I something missing something when configure the plugin?

    wpsolr
    Keymaster
    1 year, 6 months ago #31169

    Can you deactivate those 3 options?

    lukas
    Participant
    1 year, 6 months ago #31171

    From a technical side I can, but I need these features.

    wpsolr
    Keymaster
    1 year, 6 months ago #31173

    I just need to identify if one of them is causing the issue.

    lukas
    Participant
    1 year, 6 months ago #31177

    Even when activated just one of them ends into this error.

    wpsolr
    Keymaster
    1 year, 6 months ago #31178

    Without any of them, does it work?

    lukas
    Participant
    1 year, 6 months ago #31180

    Yes without any it works

    wpsolr
    Keymaster
    1 year, 6 months ago #31183

    Can you now try the 3 options individually, to identify if one or several are the problem?

    lukas
    Participant
    1 year, 6 months ago #31184

    It seems like that “Display “Did you mean?” in search results header ?” in 2.1 Presentation making problems.

    wpsolr
    Keymaster
    1 year, 6 months ago #31185

    The “Did you mean” option on screen 2.1 could be used only with the option “Search template” with the deprecated choice “WPSOLR template”.

    With your current theme, there is no widget to display it.

    lukas
    Participant
    1 year, 6 months ago #31186

    For debugging I had this template activated. Does the themes has to support sidebars or anything else? The output in Frontend:

    <form action="" method="get" class="search-frm">
            <input type="hidden" value="wdm_return_solr_rows" id="path_to_fold">
            <input type="hidden" value="https://localhost:8081/wp-admin/" id="path_to_admin">
            <input type="hidden" value="" id="search_opt">
            <input type="hidden" value="0" id="paginate">
            <input type="hidden" value="0" id="is_after_autocomplete_block_submit">
            
            <div class="ui-widget">
                <input type="hidden" id="ajax_nonce" value="32a71320c1">
                <input type="text" placeholder="Search ...." value="" name="search" id="search_que" class="search-field sfl2" autocomplete="off">
                <input type="submit" value="Search" id="searchsubmit" style="position:relative;width:auto">
    
                <!-- Extra HTML -->
                
    
                <div style="clear:both"></div>
            </div>
        </form>
    wpsolr
    Keymaster
    1 year, 6 months ago #31187

    What is it?

    lukas
    Participant
    1 year, 6 months ago #31192

    The search form html used on the page (by wpsolr pro).

    wpsolr
    Keymaster
    1 year, 6 months ago #31193

    This form is deprecated. On screen 2.1, select your own theme’s archive templates to display results queried by WPSOLR.

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

You must be logged in to reply to this topic.