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

Second parameter of the canonical search function should not allow search expressions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      We should not allow the second parameter of the canonical search function to allow search expressions and instead just take advantage of the "and", "or", and "not" $filter operators.

      For example, instead of allowing both:

      "...?$filter=search( companyName, 'food AND quality' )
      "...?$filter=search( companyName, 'food' ) and search( companyName, 'qualify' )"

      only allow the latter.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              matthew.borges Matthew Borges (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: