elasticsearch\Searcher()
-
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 search parameters
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.
Any help would be really appreciated.
Steve
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘elasticsearch\Searcher()’ is closed to new replies.