SV: index, reindexing problem

2004-10-18 Thread MATL (Mats Lindberg)
= new IndexWriter(...) until after the reader.close(). I.e., complete all the deletions and close the reader before creating the writer. Chuck > -Original Message- > From: MATL (Mats Lindberg) [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 17, 2004 5:36 AM > To: [EMAIL PROTECTE

index, reindexing problem

2004-10-17 Thread MATL (Mats Lindberg)
Hello. I have a problem when reindexing some documents after an index has been created, i get an error, the error is the following. caught a class java.io.IOException with message: Lock obtain timed out: [EMAIL PROTECTED]:\DOCUME~1\..lucene-0b877c2d5472a608d6ec3ee6174018de-write .lock

how to find field that has any value

2004-10-06 Thread MATL (Mats Lindberg)
Hello i have a probably simple question for some of you. Since lucene does not allow a query to start with a wild card (* or ?) how would i find all documents in lets say field test that has something in that field, or is not empty. my first thought would be to do something like this. test:

SV: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
when i index i use the Field.Text, do you mean that i should use Field.Keyword instead Mats -Oprindelig meddelelse- Fra: MATL (Mats Lindberg) Sendt: 14. juli 2004 01:32 Til: Lucene Users List Emne: SV: lucene sort error - there are more terms than documents in field Hello. I

SV: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
] Sendt: 14. juli 2004 01:29 Til: Lucene Users List Emne: Re: lucene sort error - there are more terms than documents in field On Jul 13, 2004, at 7:10 PM, MATL (Mats Lindberg) wrote: > Hello. > > I am using: > import org.apache.lucene.search.Sort > > when searching an i

lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
Hello. I am using: import org.apache.lucene.search.Sort when searching an index, but for some reasons, in some indexes i get this error: caught a class java.lang.RuntimeException with message: there are more terms than documents in field does anybody know what causes this, or how to solve

SV: problem running lucene 1.4 demo on a solaris machine (permission denied)

2004-07-08 Thread MATL (Mats Lindberg)
: problem running lucene 1.4 demo on a solaris machine (permission denied) MATL (Mats Lindberg) wrote: > When i copied the lucene jar file to the solaris machine from the > windows machine i used a ftp program. FTP probably mangled the file. You need to use FTP's binary

problem running lucene 1.4 demo on a solaris machine (permission denied)

2004-07-08 Thread MATL (Mats Lindberg)
Hello I have downloaded the lucene 1.4 to a windows machine, and it all works fine, when i tries to move this to a solaris machine i get the following error: /opt/tomcat/common/lib/lucene-1.4-final.jar: cannot execute If i then tries to change the permission (777) on the above file, i get the