Why do you want to? Basically, the caches are there to improve
#searching#. To search something, you must index it. Retrieving
it is usually a rare enough operation that caching is irrelevant.

This smells like an XY problem, see:
http://people.apache.org/~hossman/#xyproblem

If this seems like gibberish, could you explain your problem
a little more?

Best
Erick

On Thu, Oct 21, 2010 at 10:20 AM, Mathias Walter <mathias.wal...@gmx.net>wrote:

> Hi,
>
> does a field which should be cached needs to be indexed?
>
> I have a binary field which is just stored. Retrieving it via
> FieldCache.DEFAULT.getTerms returns empty ByteRefs.
>
> Then I found the following post:
> http://www.mail-archive.com/d...@lucene.apache.org/msg05403.html
>
> How can I use the FieldCache with a binary field?
>
> --
> Kind regards,
> Mathias
>
>

Reply via email to