Compare two fields using Nest

I'm struggling to compare two fields using Nest client for c#, can somebody help me to achieve this?
For Example : I've two fields like FirstName & Name in my index, I want to compare these fields.

Thanks

What do you mean by compare? Compare the values that are indexed for each field for each document?

Lets assume you've Index called people & there we've following fields
1.Name (which have full name)
2.First Name
2.Last Name
3.Middle Name
4.Email
5.Address

Now I want to compare 1.)Name & 2.) Full Name through out the index, so how can I do in Nest(c#) ?

Hope this will help you.

That helps a little; how are you looking to compare them? What kind of comparison are you looking to perform?

equal comparison (String)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.