On Wed, Aug 30, 2006 at 12:12:16PM +0200, Florent Solt wrote:
> Jens Kraemer wrote:
> > 
> > there was a mail recently where this problem already came up ( subject
> > was "adding new items to index breaks searches with *" ).
> > 
> > I always thought that searching with only a wildcard as in 'id:*' would 
> > not
> > be possible at all. So I'd consider it a bug that Ferret delivers 
> > results in
> > the first place...
> > 
> > Jens
> 
> It's not the answer I would like to read :) :)
> 
> But do you know how to do this query : "Any document that have an id 
> field" ?

I don't know of a way to accomplish that. But maybe it's not as I think
and Dave has implemented such a feature and in reality it's a bug that
it doesn't return results the second time. Maybe optimizing the index
before searching another time helps ?

> PS: Sorry Jens, I have not correctly understood the previous mail. I 
> thought it was only for the * alone (without a field).

nothing to be sorry about ;-)

in fact, the query parser will by default parse the query '*' to 
'id:* OR content:*' (if your index has the fields id and content), so
there's no difference.

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