Hi, may you share a deeper stack trace?

On Thu, Jun 4, 2026 at 10:24 AM Ufuk YILMAZ via users <[email protected]>
wrote:

> I’m indexing documents with a vector field using SolrJ (javabin format),
> and indexing works fine. However, after indexing, when I run a kNN
> search for a specific vector tied to a certain search term (either
> through SolrJ or the Solr Admin page), I get an exception. This only
> happens for that particular term as far as I’ve seen, though there might
> be other terms that could trigger it. It’s not an issue with every
> search term, but it consistently fails with that one.
>
> o.a.s.h.RequestHandlerBase Server exception
> =>java.lang.ArrayIndexOutOfBoundsException: Index 727 out of bounds for
> length 727
>          at
> org.apache.lucene.util.FixedBitSet.nextSetBitInRange(FixedBitSet.java:297)
>
> Interestingly, if I just index my documents again, this time using HTTP
> POST and JSON, error disappears and my search returns as normal.
>
> Any guesses about why something like this might happen? Could quitting
> javabin and falling back to XML writer for indexing help?
>
> --ufuk yilmaz
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to