{
  "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.",
  "type" : "operator",
  "operator" : ":",
  "name" : "match_operator",
  "description" : "Use the match operator (`:`) to perform a match query on the specified field.\nUsing `:` is equivalent to using the `match` query in the Elasticsearch Query DSL.\n\nThe match operator is equivalent to the match function.\n\nFor using the function syntax, or adding match query parameters, you can use the\nmatch function.\n\n`:` returns true if the provided query matches the row.",
  "signatures" : [
    {
      "params" : [
        {
          "name" : "field",
          "type" : "boolean",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "boolean",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "boolean",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "date",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "date",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "date",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "date_nanos",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "date_nanos",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "date_nanos",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "double",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "double",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "double",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "integer",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "double",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "double",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "long",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "integer",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "double",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "integer",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "integer",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "integer",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "integer",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "long",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "ip",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "ip",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "ip",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "keyword",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "double",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "integer",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "long",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "text",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "double",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "integer",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "long",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "unsigned_long",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "version",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "keyword",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "version",
          "optional" : false,
          "description" : "Field that the query will target."
        },
        {
          "name" : "query",
          "type" : "version",
          "optional" : false,
          "description" : "Value to find in the provided field."
        }
      ],
      "variadic" : false,
      "returnType" : "boolean"
    }
  ],
  "examples" : [
    "FROM books\n| WHERE author:\"Faulkner\""
  ],
  "preview" : false,
  "snapshot_only" : false
}
