I would like to index documents in Elasticsearch with a multiple values field (not multifield) using NEST. Consider the following data:
{
"id": "someid",
"name": "name 1",
"name": "name 2",
"name": "name 3"
}
The Lucene query I'm looking to write should look something like this:
name:"name 2"
This query should search all of the name fields. How to do this using NEST?
IEnumerable<string> Name { get; set; }is not an option here?