lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject IndexReader close listeners and NRT
Date Thu, 07 Nov 2013 06:33:01 GMT
I am trying to cache a BitSet by attaching to IndexReader.addCloseListener,
using the getCoreCacheKey()

But, I find that getCoreCacheKey() returns the IndexReader object itself as
the key.

Whenever the IndexReader re-opens via NRT because of deletes, will it mean
that my cache will be purged, because a new IndexReader is opened?

Are there ways to avoid this purging?

--
Ravi

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