Hi,
I have different JSON Array types, which have Unique JObject types. The structure is like the following.
"Fruit": [
{
"Name": "Mango",
"Color": "Yellow",
"Size": "Large"
},
{
"Name": "Grape",
"Color": "Black",
"Size": "Small"
},
{
"Name": "Banana",
"Color": "Yellow",
"Size": "Medium"
}
],
"Vehicle": [
{
"Name": "Hurricane",
"Company": "Lamborgini",
"Wheels": "4"
},
{
"Name": "Ninja",
"Company": "Kawasaki",
"Wheels": "2"
}
]
Now I want to insert the data either in any of these objects type, or a new object type.
How to do this in .Net with NEST 7.4.1 version. I can't create strongly typed objects, because I pass them dynamically. I could give custom mapping in previous NEST Version(5.5.0) , But how can I give custom mapping in NEST 7.4.1. And one more doubt. Is 7.4.1 version has faster data inserts than 5.5.0 ? Please let me know. And for Querying the data, can I form Queries Dynamically and pass it to one place?