FAQ
Hi,all,

Can we do search and update one index simultaneously?Is someone know sth
about it? I had done some experiments.Now the search will be blocked
when the index is being updated.The error in search node is like this:
caught a class java.io.IOException
with message:Stale NFS file handle

Thanks

Xuemei Li




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

Search Discussions

  • David Townsend at May 19, 2004 at 9:32 am
    There is no problem with updating and searching simultaneously. Two threads updating simultaneously on the same index on NFS can be a problem, as the locking does not work reliably. Have a look through the archives for NFS, there are some solutions scattered about.

    David

    -----Original Message-----
    From: xuemei li
    Sent: 18 May 2004 23:01
    To: lucene-user@jakarta.apache.org
    Subject: about search and update one index simultaneously


    Hi,all,

    Can we do search and update one index simultaneously?Is someone know sth
    about it? I had done some experiments.Now the search will be blocked
    when the index is being updated.The error in search node is like this:
    caught a class java.io.IOException
    with message:Stale NFS file handle

    Thanks

    Xuemei Li




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


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: lucene-user-help@jakarta.apache.org
  • David Spencer at Jun 1, 2004 at 5:28 pm

    xuemei li wrote:
    Hi,all,
    see this:

    http://wiki.apache.org/jakarta-lucene/UpdatingAnIndex
    Can we do search and update one index simultaneously?Is someone know sth
    about it? I had done some experiments.Now the search will be blocked
    when the index is being updated.The error in search node is like this:
    caught a class java.io.IOException
    with message:Stale NFS file handle

    Thanks

    Xuemei Li




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


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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedMay 18, '04 at 10:05p
activeJun 1, '04 at 5:28p
posts3
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase