Closed as not planned
Description
I was trying to rewrite such Elastic query using Elastic client v8:
POST /my_index/_search
{
"query": {
"simple_query_string": {
"type": "bool_prefix",
"query": "my sample word",
"fields": [
"title"
],
"default_operator": "AND"
}
}
}
And I realized that it seems there is no implementations for the "type": "bool_prefix"
part.
consider this :
var simpleQueryString = new SimpleQueryStringQuery()
{
// Other fields exist but the 'Type' property not found
Query = text,
Fields = new Field[]
{
new("h1"),
},
DefaultOperator = Operator.And,
};
It would be nice to add this feature.
I would be thankful suggest me an alternative way to have the same functionality with current existing options and properties if it is possible.