searchivarius commented on issue #12342:
URL: https://github.com/apache/lucene/issues/12342#issuecomment-1644619214

   thank you @benwtrent you didn't try the transformer yet, did you? You can 
easily convert vectors using, e.g., numpy, it's along the lines of adding one 
extra dimension that is zero for the query and the document vector D  becomes:
   
    Old dimensions are normalized by the max document norm: 
    D/max_doc_norm 
    One "fake" dimension is added: 1 - |D|^2/(max_doc_norm^2)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to