docs: @VisibleForTesting
      Pair<String, SearchQueryOperator> extractOperator(String value, SearchQueryOperator defaultOperator) {
          if (value.length() >= 3) {
              final String substring2 = value.substring(0, 2);
  
              switch (substring2) {
                  case ">=":
                      return Pair.of(value.substring(2).trim(), SearchQueryOperators.GREATER_EQUALS);
                  case "<=":
                      return Pair.of(value.substring(2).trim(), SearchQueryOperators.LESS_EQUALS);
                  case "=~":
                      return Pair.of(value.substring(2).trim(), SearchQueryOperators.REGEXP);
              }
          }
  
          if (value.length() >= 2) {
              final String substring1 = value.substring(0, 1);
              switch (substring1) {
                  case ">":
                      return Pair.of(value.substring(1).trim(), SearchQueryOperators.GREATER);
                  case "<":
                      return Pair.of(value.substring(1).trim(), SearchQueryOperators.LESS);
                  case "=":
                      return Pair.of(value.substring(1).trim(), SearchQueryOperators.EQUALS);
              }
          }
  
          return Pair.of(value, defaultOperator);
      }