Hello,
I have been able to successfully use the runParallelIndexer gradle task to create an index of my image data. I am having some issues with querying by ID though. I would really appreciate some assistance.
When getBytesRef() is called in handleIdSearch():

The
bdv.advance =
2147483647 and docId = 10, resulting in the BytesRef.EMPTY_BYTES being returned.
This obviously results in:
bvBytesRef.offset = 0,
bvBytesRef.length = 0 and
bvBytesRef.bytes is empty.
When the query field is cl_ha, this then results in a "java.lang.ArrayIndexOutOfBoundsException: 0" error when the following line is executed:
When the query field is eh_ha, or ph_ha, the ByteArrayRepresentation is identical before and after the setByteArrayRepresentation(), but does not throw an ArrayIndexOutOfBoundsException. It instead produces the same set of results irrespective of the query image ID. I am assuming this is because it is always the same ByteArrayRepresentation (i.e. all i in bytes[i] = -128)
I would greatly appreciate any assistance in this regard, as I am very confused as to what could be the issue.
Thank you,
Soham