fabriziofortino commented on code in PR #1646:
URL: https://github.com/apache/jackrabbit-oak/pull/1646#discussion_r1728955168
##########
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/index/ElasticDocumentMaker.java:
##########
@@ -217,7 +217,7 @@ protected boolean indexSimilarityTag(ElasticDocument doc,
PropertyState property
@Override
protected void indexSimilarityBinaries(ElasticDocument doc,
PropertyDefinition pd, Blob blob) throws IOException {
// without this check, if the vector size is not correct, the entire
document will be skipped
- if (pd.getSimilaritySearchDenseVectorSize() == blob.length() / 8) {
+ if (pd.getSimilaritySearchDenseVectorSize() == blob.length() / 4) {
Review Comment:
`LOG.warn` at line 225/226 has to be updated accordingly
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]