WPSolr logo
Search
Close this search box.

Forum Replies Created

  • leninsuarez
    Participant
    4 years, 4 months ago in reply to: download link not available #15918

    it’s a one year license

    leninsuarez
    Participant
    4 years, 7 months ago in reply to: solr OR fq not working #13910

    Thanks for your answer, i was able to add this OR filter using the wpsolr_action_solarium_query hook, and then calling addFilterQuery function.

    Now my problem has gone to another direction, I have multiple searches running in the same page (planning to move to a grouped query if available), this is the steps I’m following to do this

    * I’m manually setting the value of $_SERVER[‘QUERY_STRING’] with the propper http query
    * I’m calling doing what the fun_search_indexed_data() function does in ajax_solr_services.php
    $_q = WPSOLR_Service_Container::get_query();
    $this->search_results = WPSOLR_Service_Container::get_solr_client()->get_results_data($_q);

    I also changed the class-wpsolr-abstractsearchclient.php file to disable cache for multiple searches running on the same page

    line 893 –> $results = $this->execute_wpsolr_query( $wpsolr_query, false );

    Using a solr instance this works just fine, but when I change to an AWS elasticsearch instance, my custom search breaks, I got results but query filters are not working.

    Do I need to do something else that I’m missing? Thanks!

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