You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Michael Wechner <mi...@wyona.com> on 2021/05/24 11:10:09 UTC
VectorField: double versus float
Hi
From SentenceTransformer of sbert.net I receive double values for
embeddinggs, whereas I noticed that VectorField only accepts float values
https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/document/VectorField.java
What is the reason, that VectorField only accepts float values?
Thanks
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org