The above query doesn't work , if "myStringTypeFieldName" is replaced with a "Date-Type" Field
I am getting IllegalArgument exception.
Because , wildcard works only with string types
Is there any way in Elasticsearch to achieve the same , if the searched field type is Date
I am trying to implement an application, which executes the the above query with date-field in ES ,
sometimes with the "date-value" | sometimes with "empty-value"
I will be very pleased if someone can enlighten me on this