Hi,
An easy way to do that would be to index a particular term with all docs
e.g. "dummyword" could be indexed for all documents as a value for a
dummyfield or an existing field.
This way lets assume you want to fetch results for -filed1:jakarta
You could search for dummyfield:"dummyword" AND NOT
On Dec 4, 2008, at 9:50 AM, tiziano bernardi wrote:
I entered your code inside a main.
I have imported libraries required by mistake but me.
First error:
parser.parse();
Syntax error on token "parse", Identifier expected after this token
Second error:
cd.close();
Syntax error on token "close
Hi Shivaraj, I would recommend John's approach and let Lucene deal with
the sorting.
Nonetheless, you can traverse through the terms by using the following
method:
http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/index/IndexReader.html#terms(org.apache.lucene.index.Term)
Basically, yo
Thanks John,
MatchAllDocsQuery works, however I was unable to locate an example for
traversing the term table. Could you please point me to one?
Regards,
Shivaraj
On Fri, Dec 5, 2008 at 4:35 AM, John Wang <[EMAIL PROTECTED]> wrote:
> The obvious way is to use use MatchAllDocsQuery with Sort
Hi,
Does anyone know of a pattern language for text processing and information
retrieval?
Cheers
Rob
We are converting a User Interface query to lucene on the back end. It has
recently come up that users want to do some negative only queries like NOT
"jakarta apache". What is an efficient way to do this? We do know what field
they are specifying, ie -field1:jakarta
On Mon, Jun 23, 2008 at 2:53 AM
We are converting a User Interface query to lucene on the back end. It has
recently come up that users want to do some negative only queries like NOT
"jakarta apache". What is an efficient way to do this? We do know what
field they are specifying, ie -field1:jakarta
On Mon, Jun 23, 2008 at 2:
To use the Quality Benchmarker, see
http://lucene.apache.org/java/2_4_0/api/contrib-benchmark/org/apache/lucene/benchmark/quality/package-summary.html
On Dec 6, 2008, at 2:57 AM, Gustavo Corral wrote:
Hello all,
I want to do some kind of evaluation of my Lucene application, but the
problem i