You'll also need things to exclude from, eg a MatchAllDocsQuery.
karl
29 jun 2011 kl. 17.25 skrev Clemens Wyss:
> Say I have a document with field "f1". How can I search Documents which have
> not "test" in field "f"
> I tried:
> -f: *test*
> f: -*test*
> f: NOT *test*
>
> but no luck. Using WildCardQuery class...
> Any advices?
>
> Thx
> Clemens
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]