Re: lucene search options

2008-12-06 Thread Anshum
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

Re: Pdf in Lucene?

2008-12-06 Thread Grant Ingersoll
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

Re: Sorting documents without a query

2008-12-06 Thread Khawaja Shams
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

Re: Sorting documents without a query

2008-12-06 Thread Shivaraj Tenginakai
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

IR Pattern Language

2008-12-06 Thread Robert Young
Hi, Does anyone know of a pattern language for text processing and information retrieval? Cheers Rob

Re: lucene search options

2008-12-06 Thread no spam
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

Re: lucene search options

2008-12-06 Thread no spam
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:

Re: Lucene evaluation (XML)

2008-12-06 Thread Grant Ingersoll
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