Quick question, I’m using AAF and the following custom analyzer:
class StemmedAnalyzer < Ferret::Analysis::Analyzer
def initialize(stop_words = ENGLISH_STOP_WORDS)
@stop_words = stop_words
def token_stream(field, str)
However when my search term includes a stop word I never get any results
back. Once I remove the stop word I get the normal results back. Do I
need to do a search of my query for stop words and remove them myself?
Or is there something I’m doing wrong with passing my query to AAF?