Forum: Ferret Query strings and stop words

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7b74ccf93dde7dd2ac5d2980d14fdc7b?d=identicon&s=25 Paul Lynch (plynchnlm)
on 2007-05-29 23:07
(Received via mailing list)
Is there an option for filtering stop words out of the query string,
so that queries that contain stop words don't return zero results?  It
has been several years, but I think that when I was on a project that
was writing a search engine, we used to filter stop words both out of
the index and out of the query string, after it was parsed.  This
allows a query like [cold and sinus] to return hits even when the
default operator is AND.

If there is no option for this in ferret, is there some way of getting
at ferret's parsed query structure, and deleting stop words before it
tries to use it?  I would like to avoid parsing the query myself,
because that duplicates what ferret does.  (At the very least, I would
like to avoid  writing a ferret query language parser!)

Thanks,
      --Paul

--
Paul Lynch
Aquilent, Inc.
National Library of Medicine (Contractor)
This topic is locked and can not be replied to.