Enum SearchResource

    • Enum Constant Detail

      • DATAFACTORY_SEARCH_QUERY_SYNTAX_ERROR

        public static final SearchResource DATAFACTORY_SEARCH_QUERY_SYNTAX_ERROR
        Search syntax error.\nDon't use ( ) [ ] or check you closed them. OR and AND are supported but must be between two keywords.
      • DATAFACTORY_SEARCH_INDEX_FIELDDATA_ERROR

        public static final SearchResource DATAFACTORY_SEARCH_INDEX_FIELDDATA_ERROR
        Search index struct error.\nSorted or aggregated fields must be declared as keyword, sortable or facetable in your SmartType.
    • Method Detail

      • values

        public static SearchResource[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchResource c : SearchResource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchResource valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null