VeggieMeat / search_api_elasticsearch

Clone of project at drupal.org/project/search_api_elasticsearch for better CI options than what D.O offers
16 stars 8 forks source link

Analyzer Snowball preventing results appearing #1

Closed VeggieMeat closed 10 years ago

VeggieMeat commented 10 years ago

Original issue: https://drupal.org/node/2248917

Hi,

On line 1116 of service.inc you have the following:

<?php
       
// This is just a stopgap until we can determine the right(TM) way to
        // expose the ability to choose analyzers. Snowball is a decent
        // default.
       
$query_search_string->setParam('analyzer', 'snowball');
?>

With this item set, my result set is empty. If I comment this line out then I get the results I would expect.

I obviously don't want to patch a module on my site....

Can you please explain what this does or what/how I can do to my index to make the snowball analyzer work as expected.

Cheers,

Simon