You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Dan Pelton <dn...@ams.org> on 2003/11/18 22:32:06 UTC

Illegal seek error

Hi,

Occasionally I get an "Illegal seek" error while loading a document into lucene.
I am new to lucene so I am not sure what to look for. Does any one have an idea of 
what may cause this error. Can lucene handle multiple user inserting documents at
the same time or do I need to implement a locking mechanism?

I am using lucene-1.3-rc1 with java 1.4.2 on SunOS 5.8.

Thanks,
Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Illegal seek error

Posted by Dror Matalon <dr...@zapatec.com>.
Someone might know off the top of their head, but it's always a good
idea to include a full stack trace so that we see where's the error
coming from.

Regards,

Dror

On Tue, Nov 18, 2003 at 04:32:06PM -0500, Dan Pelton wrote:
> Hi,
> 
> Occasionally I get an "Illegal seek" error while loading a document into 
> lucene.
> I am new to lucene so I am not sure what to look for. Does any one have an 
> idea of what may cause this error. Can lucene handle multiple user 
> inserting documents at
> the same time or do I need to implement a locking mechanism?
> 
> I am using lucene-1.3-rc1 with java 1.4.2 on SunOS 5.8.
> 
> Thanks,
> Dan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 

-- 
Dror Matalon
Zapatec Inc 
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.com
http://www.zapatec.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Illegal seek error

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Tuesday, November 18, 2003, at 04:32  PM, Dan Pelton wrote:
> Occasionally I get an "Illegal seek" error while loading a document 
> into lucene.
> I am new to lucene so I am not sure what to look for. Does any one 
> have an idea of what may cause this error. Can lucene handle multiple 
> user inserting documents at
> the same time or do I need to implement a locking mechanism?

No, unless they are using the same *exact instance* of IndexWriter.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org