Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1822 Search Query Builder and Faceted Search in Atlas
  3. ATLAS-2121

Inconsistency in basic search results due to case sensitivity of type names

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8-incubating, 1.0.0
    • 0.8.2, 1.0.0
    • atlas-core
    • None

    Description

      Type names are case sensitive hence 2 types can be created with different cases.

      Example :
      1. type1 with attributes a , b
      2. TYPE1 with attributes c , d

      The types creation succeeds and

      /api/atlas/v2/types/entitydef/name/type1
      /api/atlas/v2/types/entitydef/name/TYPE1
      

      return the corresponding type definitions correctly.

      When an entity e1 of type1 is created,
      and when a BASIC search is fired with
      typeName= type1 , e1 is returned and
      typeName=TYPE1 also , e1 is returned.

      But in the case of DSL search ,
      typeName = type1 returns e1
      typeName = TYPE1 doesn't return any result - which is the correct behavior.

      This issue is major from tag side too because , UI Tag search is Basic and returns entity tagged with tag1 when searched for tag1 or TAG1.

      Whereas DSL search with
      classification=tag1 returns entity
      classification=TAG1 does not return any entity. - which is the correct behavior.

      Attachments

        Issue Links

          Activity

            People

              apoorvnaik Apoorv Naik
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: