Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-4275

Metadata search can't search for a tag

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: API, Metadata
    • Labels:
      None
    • Release Notes:
      Fixed a problem with searching CDAP entities based on tags where the entity has multiple tags.
    • Rank:
      1|hzz3a7:

      Description

      If the entity has tags ["training", "november", "2015"], only the search for "training" works.

      $ curl localhost:10000/v3/namespaces/default/apps/HelloWorld/metadata/tags
      ["training","november","2015"]
      $ curl localhost:10000/v3/namespaces/default/metadata/search?query=tags:november
      []
      $ curl localhost:10000/v3/namespaces/default/metadata/search?query=tags:training
      [{"entityId":{"type":"program","id":{"application":{"namespace":{"id":"default"},"applicationId":"PurchaseHistory"},"type":"Flow","id":"PurchaseFlow"}}}
      $ 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: