• Resolved don1967

    (@don1967)


    I am building a php controller to run behind the JS API in wordpress that i simply want to return search results from the $_GET

    1) When i am using elasticsearch\Searcher() must i not define somehow the index that is being used.?

    2) When i run

    $results = $searcher->search(“Test title”, 0 , $size = 10, $facets = array(), $sortByDate = false);

    The results are always the same? Even if i change “Test title” to something else.

    https://www.ads-software.com/plugins/fantastic-elasticsearch/

Viewing 1 replies (of 1 total)
  • Thread Starter don1967

    (@don1967)

    ok i have figured that the index is set in the option of WP so this issue is sorted

Viewing 1 replies (of 1 total)
  • The topic ‘elasticsearch\Searcher()’ is closed to new replies.