Terry Steichen <[EMAIL PROTECTED]> wrote on 13/10/2006 08:01:11:
> You can just add a field to your indexed docs that always evaluates to a
> fixed value. Then you can do queries like: +doc:1 -id:test
Alternatively you can use MatchAllDocsQuery, e.g.
BooleanQuery bq = new BooleanQuery();
You can just add a field to your indexed docs that always evaluates to a
fixed value. Then you can do queries like: +doc:1 -id:test
karl wettin wrote:
13 okt 2006 kl. 09.59 skrev tony yin:
I wanta search several fields use NOT condition, but how?
for example:
I store "test" in {"id", "name"
13 okt 2006 kl. 09.59 skrev tony yin:
I wanta search several fields use NOT condition, but how?
for example:
I store "test" in {"id", "name", "value", ...} fields.
now I search "test" NOT in "id". That's it.
Can anyone help me?
You will not get any matchs looking for just a boolean NOT-claus