lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghavan Parthasarathy <raghavan8...@gmail.com>
Subject Multiple Blocking Threads with search during an Index reload
Date Tue, 23 Oct 2012 21:03:13 GMT
Hi,

We are using Lucene-core and we reindex once a day and plan to do it more
often in a day sooner.

During re loading of the lucene indexes, some of the slave servers don't
recover and we have to restart them to get them working again.

Here is the stacktrace:

Here is the Full stack trace of BLOCKED search class:

"daemon prio=5 state=BLOCKED
        at
org.apache.lucene.index.SegmentReader$CoreReaders.getTermsReader(SegmentReader.java:169)
        at
org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:57)
        at
org.apache.lucene.search.MultiTermQueryWrapperFilter.getDocIdSet(MultiTermQueryWrapperFilter.java:120)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
        at
org.apache.lucene.search.CachingWrapperFilter.getDocIdSet(CachingWrapperFilter.java:203)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
        at
org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
        at
org.apache.lucene.search.CachingWrapperFilter.getDocIdSet(CachingWrapperFilter.java:203)
        at
org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:544)
        at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:525)
        at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:384)
        at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:291)
        at
com.atypon.publish.search.SearchWorker.search(SearchWorker.java:98)
        at
com.atypon.publish.search.SearchWorker.search(SearchWorker.java:41)
.....
....


We are using lucene-core version 3.1. Please tell us what we need to do to
resolve this issue.

Thanks,
Raghavan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message