code: @Override
      public Optional<Field> indexedField(String name, String value) {
          validateTerm(name, new BytesRef(value));
          return Optional.of(new Field(name, value, FIELD_TYPE));
      }
docs: {@inheritDoc}