Class ElasticsearchConfigurationScript.Builder
java.lang.Object
dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationScript.Builder
- Enclosing class:
ElasticsearchConfigurationScript
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()includeVectorResponse(boolean includeVectorResponse) Whether to include vector fields in the search response (from Elasticsearch 9.2).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeVectorResponse
public ElasticsearchConfigurationScript.Builder includeVectorResponse(boolean includeVectorResponse) Whether to include vector fields in the search response (from Elasticsearch 9.2).- Parameters:
includeVectorResponse- true to include vector fields, false otherwise- Returns:
- the builder instance
-
build
-