Skip to content

Commit

Permalink
Silly error introduced in refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso committed Dec 12, 2024
1 parent 015cefc commit 2857250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ private QueryBuilder buildNestedQueryFromSparseVectorQuery(SparseVectorQueryBuil
}

private static String getNestedFieldPath(String fieldName) {
return fieldName + SemanticTextField.INFERENCE_FIELD + SemanticTextField.CHUNKS_FIELD;
return String.join(".", fieldName, SemanticTextField.INFERENCE_FIELD, SemanticTextField.CHUNKS_FIELD);
}

private static String getNestedEmbeddingsField(String fieldName) {
return getNestedFieldPath(fieldName) + SemanticTextField.CHUNKED_EMBEDDINGS_FIELD;
return String.join(".", getNestedFieldPath(fieldName), SemanticTextField.CHUNKED_EMBEDDINGS_FIELD);
}

@Override
Expand Down

0 comments on commit 2857250

Please sign in to comment.