> I am stomped as to why QueryParser's parse method behaves differently > between query 'a' and 'b'. > See http://pastie.caboo.se/private/4rlwrecyyow3yl6qtf4tq > > Could someone please help me understand why that is the case. > > p.s. I also found 'i' produce the same behavour as 'a'
hey .. there is a concept called STOP_WORDS .. special words are simply ignored. The QueryParser will strip all STOP_WORDS. You should understand the way STOP_WORDS and QueryParsing works.. I would recommend: http://projects.jkraemer.net/acts_as_ferret/wiki/gotchas http://ferret.davebalmain.com/trac/wiki/FAQ%3AIndexing#HowdoIswitchofstop-wordremoval http://www.oreilly.com/catalog/9780596527853/index.html see also: ./script/console >> Ferret::Analysis::FULL_ENGLISH_STOP_WORDS Ben _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

