Hi,
I am using Lucene for indexing a relatively large article based system where articles
change from time to time so i have to reindex them. reindexing had the effekt that a
query would return the hit for a file multiple times (according to the number of
updates.
The only solution to that
[1] There's no update so delete and then add is what you want.
[2] I have had the same problems w/ using an IndexWriter and IndexReader
at the same time and getting a locking problem when deleting. I think I
sent
mail to the list w/ a test case a week ago [disclaimer: this is not
a complaint!]
I use a BooleanQuery and add individual queries to it, it is working for me.
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 1:59 AM
To: Lucene Users List; [EMAIL PROTECTED]
Subject: Re: Multiple field searching
I'm using
The standard answer is try deleting/adding in batches instead of
individually. Seems more efficient, too, if you can write your
application that way.
That is what you are essentially doing by writing to a separate index
and then doing a bunch of deletions, followed by re-additions.
I know I'm
Greetings-
I am interested in getting information about the available Fields in an
index. Once I get hold of a Field object, it can provide everything I need,
but I'm having trouble getting all of them. I can use Document.fields() to
get the stored Fields from an arbitrary document in the
Joe,
Hi,
I am using Lucene for indexing a relatively large article based system where articles
change from time to time so i have to reindex them. reindexing had the effekt that a
query would return the hit for a file multiple times (according to the number of
updates.
The only solution to
Thanks for all your help.
The only way i could get it to work was the following
BooleanQuery bQuery = new BooleanQuery();
TermQuery tSubject = new TermQuery( new Term( SUBJECT_KEY, subject ));
TermQuery tKeyword = new TermQuery( new Term( KEYWORD_KEY, keyword ));
If i attempt a search that contains a forward slash '/' the following
exception occurs
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Gee KMail is crazy at times
On Thu, 21 Mar 2002 11:08, Tate Jones wrote:
If i attempt a search that contains a forward slash '/' the following
exception occurs
testcase name=testFullTextStringPool time=3.59
error
type=java.lang.NullPointerExceptionjava.lang.NullPointerException
at
I've received a couple of private mails from users on how to extract text
from PDF files using the Etymon lib. I thought I'd just post it for the
archives in case anyone's interested.
If you still need help just holler! The references to cat are Log4j's
category. You can remove it
without
Tate,
snip
Could not see how the MultiFieldQueryParser could take in multiple
queries. ie. SUBJECT, KEYWORD CONTENT field
have different values to be queried. It only takes a single query.
You're right in that it doesn't. What I'm wondering right now, is if that's
a reasonably common
- Original Message -
From: Otis Gospodnetic [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]; Kelvin Tan
[EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 2:13 PM
Subject: Re: Multiple field searching
Kelvin,
Right now I can't imagine a situation where one would need to pass
12 matches
Mail list logo