On Mon, Sep 18, 2006 at 06:06:00PM +0200, Richard wrote:
> I've seen no definitive answer to this question.
> 
> I've noticed that typing "t" in the search box will return no results 
> however if I type "t*" it brings up all results beginning with t.
> 
> I would like this behaviour on by default without having to type the 
> wildcard. Is there a way to do this?

Manually append a wild card to the query terms before giving it to the 
parser. I once did something like this for a customer. The problem is 
that this can get complex with more complex queries, i.e. you won't want 
to append a '*' to the word AND, since that's part of the query language.

Would be better to have a special query parser for this, or even an
option in the stock QueryParser to force it to use wild card queries all
the time.


Jens



-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to