Weirdly I don't see any more stack trace, let me share what I have in
solr.log:
---
2026-06-05 00:20:06.147 INFO (qtp51152513-5024-mysolrhostname-204254) [
x:mycollection t:mysolrhostname-204254]
c.r.s.h.c.DenseVectorSearchComponent returning early because
denseNotEnabled=false or isShard=true
2026-06-05 00:20:06.153 ERROR (qtp51152513-5024-mysolrhostname-204254) [
x:mycollection t:mysolrhostname-204254] 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)
2026-06-05 00:20:06.153 INFO (qtp51152513-5024-mysolrhostname-204254) [
x:mycollection t:mysolrhostname-204254] o.a.s.c.S.Request webapp=/solr
path=/hybrid
params={distrib=false&input_vector=[-0.03144373744726181,0.011151219718158245,
---
On 2026-06-05 07:01, Mikhail Khludnev wrote:
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