On Tue, 2006-05-16 at 17:51 +0200, David Trattnig wrote:
> Is it possible to set more than one default-field at the
> QueryParser's constructor? Actually I've set it to "contents" but i'd
> like to search "contents" AND "title" and matches in title should have
> a higher rating.
I've posted a pat
Trattnig <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, 16 May, 2006 3:16:05 PM
Subject: Search precondition: matching area
Hello LuceneList,
I've got at least following fields in my index:
AREA = "home news business"
CONTENTS = "... hello world ..."
this list for Filter
- Original Message
From: David Trattnig <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, 16 May, 2006 3:16:05 PM
Subject: Search precondition: matching area
Hello LuceneList,
I've got at least following fields in my index:
AREA = "home ne
Hello LuceneList,
I've got at least following fields in my index:
AREA = "home news business"
CONTENTS = "... hello world ..."
If I submit the query
query-string: "hello area:home"
Lucene should only search these documents which has the matching area.
Actually Lucene searches the area, but
David Trattnig wrote:
Hello LuceneList,
I've got at least following fields in my index:
AREA = "home news business"
CONTENTS = "... hello world ..."
If I submit the query
query-string: "hello area:home"
Lucene should only search these documents which has the matching area.
Actually Lucene s
Hello LuceneList,
I've got at least following fields in my index:
AREA = "home news business"
CONTENTS = "... hello world ..."
If I submit the query
query-string: "hello area:home"
Lucene should only search these documents which has the matching area.
Actually Lucene searches the area, but it