Hi,

I'm trying to save a Java object in a binary field and afterwards use this
value in a custom solr function.
I'm able to put and retrieve the Java object in Base64 via the UI, but I
can't seem to be able to retrieve the value in the custom function.

In the function I'm using:
termsIndex = FieldCache.DEFAULT.getTermsIndex(reader, fieldName);
termsIndex.get(doc, spare);
Log.debug("Length: " + spare.length);

The length is always 0. It works well if the field type is not binary, but
string.
Do you have any tips?

Thanks,
Costi

Reply via email to