3 Replies Latest reply on Apr 21, 2013 5:18 AM by lokeshbandaru

    Query on Keys

    lokeshbandaru

      Hi, with Infinispan, will we be able perform a query on the keys(using its fields) in the same way we do for the values?

      Can you point me in the right direction?

       

      Thanks.

        • 1. Re: Query on Keys
          lokeshbandaru

          Surprising that no one replied to this post.

          Can you suggest me any other means of communication?

          • 2. Re: Query on Keys
            mgencur

            This approach seems to me a bit like misuse of the queries. The keys are supposed to be small objects and point to values which actually hold the data. If you need to search through keys via the Query feature, you might need to consider moving the data stored in the keys to values. Is there anything that prevents you from doing that?

             

            Martin

            • 3. Re: Query on Keys
              lokeshbandaru

              Thanks Martin. Was actually heading that way. You are absolutely right, "Keys are supposed to be small objects and point to values which actually hold the data".

              Extracting the key information from values is definitely the way to go. Thanks a lot.