Index _ out of bounds for length _
. To resolve, set hl.q
to the lexical-only query parameter <request.params.q>
before the hybrid stage, or <request.params.raw_lex_q>
.vector_weight*vector_score + lexical_weight*scaled(lexical_score)
uf
, pf
, or pf2
) must happen before the hybrid stage.no float vector value is indexed for field
bug in Lucene.squash(lexical_score)*lexical_weight + vector_score*vector_weight
squash
is tanh(alpha*lexical_score)
, where alpha
is the Lexical Query Squash Factor in the stage and lexical_score
is the lexical score. The squashing function makes the lexical scores smaller so the scores are more closely bounded to the vector scores and are not weighted significantly more than the vector scores in the scaling equation. The squash
value should be decreased if Solr Explain in the JSON response or the query workbench’s debug mode displays 0.9999
for a lot of top lexical contributions. If the squash
value is smaller, then the lexical and semantic values can be more even.solrconfig.xml
:
field _lw_chunk_doctype_s
with value of either _lw_chunk_root
or the name of the vector field defined for the children.
Include one of these values in the chunking index stage.
squash(lexical_score)*lexical_weight + vector_score*vector_weight
squash
is tanh(alpha*lexical_score)
, where alpha
is the Lexical Query Squash Factor in the stage and lexical_score
is the lexical score. The squashing function makes the lexical scores smaller so the scores are more closely bounded to the vector scores and are not weighted significantly more than the vector scores in the scaling equation. The squash
value should be decreased if Solr Explain in the JSON response or the query workbench’s debug mode displays 0.9999
for a lot of top lexical contributions. If the squash
value is smaller, then the lexical and semantic values can be more even.solrconfig.xml
: