= 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
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
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:
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
]
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
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
: 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
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