lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Funstein <vfunst...@gmail.com>
Subject Re: Multiple Blocking Threads with search during an Index reload
Date Wed, 24 Oct 2012 22:09:32 GMT
Just curious - why not take your search feature offline during the
reindexing? That would seem sensible from an operational perspective, I
think.

On Tue, Oct 23, 2012 at 2:03 PM, Raghavan Parthasarathy <
raghavan8585@gmail.com> wrote:

> 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