Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8710373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:36:44+00:00 2026-06-13T04:36:44+00:00

Imagine the following data : data: [ { A: 1 B: 1 C: 1

  • 0

Imagine the following data :

data: [
  {  A: 1
     B: 1
     C: 1
  }
  {  A: 1
     B: 1
     C: 2
  }
  {  A: 3
     B: 1
     C: 23
  }
  ... 
]

When I query, I would like to receive every data that has its value B as 1, but I don’t want them to share the same A value. In other words I would like my query result to contain unique A values. So in this example I would have either C = 2, 23 or C = 1, 23. Is this achievable in elastic search ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:36:45+00:00Added an answer on June 13, 2026 at 4:36 am

    After a long research, I have learned that, there is no way to achieve this as of now. Elastic search does not support such an operation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys, I don't know if this question has been asked yet but imagine
Imagine a json file with the following data: [ { color: red, value: #f00
Imagine the following database: Table 'companies' has fields id, name and flagship_product_id. Table 'products'
Imagine the following: you read in a string with scanf() but you only need
Imagine the following class that manages a resource (my question is only about the
Imagine I have the following data in a table called messages: message_id | language_id
Imagine a method with the following signature: public void ExampleMethod(string id, object data, ref
Imagine the following scenario. I have a checkbox that the user can check to
I'm working with Solr 1.4, and I want to test mergeindexes. Imagine these following
Imagine three entities (Customer, Book, Author) related like this: A Customer has many Books

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.