Forum: Ferret Search parts of 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.
Cf0076fc09a3b3b1ceff4b664dd7f4ed?d=identicon&s=25 stuff (Guest)
on 2006-05-23 10:51
Hello,

how is posibble to search only parts of words for exapmple if i have in
index "Lazy fog was jumping over microstadio." I want this one will
return for following search: "micro"
C9dd93aa135988cabf9183d3210665ca?d=identicon&s=25 Jens Kraemer (Guest)
on 2006-05-23 12:10
(Received via mailing list)
On Tue, May 23, 2006 at 10:51:42AM +0200, stuff wrote:
> Hello,
>
> how is posibble to search only parts of words for exapmple if i have in
> index "Lazy fog was jumping over microstadio." I want this one will
> return for following search: "micro"

search for micro*

see http://ferret.davebalmain.com/api/classes/Ferret/Q...

If you don't use Ferret's Query Parser, you can construct a
WildCardQuery
for the Term 'micro' manually, too.

Jens

--
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       kraemer@webit.de
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
This topic is locked and can not be replied to.