Worked like a charm. Changed solrconfig.xml

On 2/9/07, Brian Whitman <[EMAIL PROTECTED]> wrote:

On Feb 9, 2007, at 10:14 AM, Tim Archambault wrote:
> I can delete documents, commit, but can't "add". Any help is greatly
> appreciated. Tried to find a locked file in the "data" folder, but
> found
> none. Seems to have something to do with indexWriter. Tried to
> reboot server
> and still got the error.
>
> SEVERE: java.io.IOException: Lock obtain timed out:
> SimpleFSLock@/tmp/lucene-81bc6f62705a81f78faa45284bde5048-write.lock
>        at org.apache.lucene.store.Lock.obtain(Lock.java:69)



The lock is in /tmp/ somewhere, not in the data folder. There's also
a setting in solrconfig.xml -- unlockOnStartup -- that can override
this.



Reply via email to