acquia / acquia-search-proxy

A web service proxy for the Acquia Search service
MIT License
2 stars 2 forks source link

setQuery no longer function of PSolr class #23

Open nerdstein opened 7 years ago

nerdstein commented 7 years ago

Example has:

$result = \PSolr\Request\Suggest::factory()
        ->setQuery($query)
        ->sendRequest($app['acquia.search.index'])
    ;

setQuery no longer is a function, need to update this.

nerdstein commented 7 years ago

So, this is indeed a class (PHPStorm is not liking the "factory" usage).

Example still throws a 500 error on initial install. this warrants more investigation

nerdstein commented 7 years ago

I've added some additional exception handling and error reporting. Acquia Search is rejecting the SUGGEST interface found from the previous example. I am of the opinion this issue is upstream. I have SELECT working with one and multiple filters.