Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-493

Capabilities vocabulary: add term for SearchRestrictions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS01
    • Fix Version/s: V4.0_CSD03
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Add term

      <Term Name="SearchRestrictions" Type="Capabilities.SearchRestrictionsType" AppliesTo="EntitySet">
      <Annotation Term="Core.Description" String="Restrictions on $search expressions" />
      </Term>
      <ComplexType Name="SearchRestrictionsType">
      <Property Name="Searchable" Type="Edm.Boolean" DefaultValue="true">
      <Annotation Term="Core.Description" String="$search is supported" />
      </Property>
      <Property Name="UnsupportedExpressions" Type="Capabilities.SearchExpressions" DefaultValue="none">
      <Annotation Term="Core.Description" String="Expressions supported in $search" />
      </Property>
      </ComplexType>

      <EnumType Name="SearchExpressions" IsFlags="true">
      <Member Name="none" Value="0" />
      <Member Name="AND" Value="1" />
      <Member Name="OR" Value="2" />
      <Member Name="NOT" Value="4" />
      <Member Name="phrase" Value="8" />
      <Member Name="group" Value="16" />
      </EnumType>

      Show
      Add term <Term Name="SearchRestrictions" Type="Capabilities.SearchRestrictionsType" AppliesTo="EntitySet"> <Annotation Term="Core.Description" String="Restrictions on $search expressions" /> </Term> <ComplexType Name="SearchRestrictionsType"> <Property Name="Searchable" Type="Edm.Boolean" DefaultValue="true"> <Annotation Term="Core.Description" String="$search is supported" /> </Property> <Property Name="UnsupportedExpressions" Type="Capabilities.SearchExpressions" DefaultValue="none"> <Annotation Term="Core.Description" String="Expressions supported in $search" /> </Property> </ComplexType> <EnumType Name="SearchExpressions" IsFlags="true"> <Member Name="none" Value="0" /> <Member Name="AND" Value="1" /> <Member Name="OR" Value="2" /> <Member Name="NOT" Value="4" /> <Member Name="phrase" Value="8" /> <Member Name="group" Value="16" /> </EnumType>
    • Resolution:
      Show
      https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/vocabularies/Org.OData.Capabilities.V1.xml?rev=468 Applied: https://www.oasis-open.org/committees/download.php/50877/odata-meeting-54_on-20131001-minutes.html#ga_01

      Description

      We forgot this when defining the query language for $search

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: