// TODO: Make this configuration more flexible!
IndexConstraintTypeEncoder<IndexField> langEncoder = new LangEncoder(fieldMapper);
constraintEncoders.put(IndexConstraintTypeEnum.LANG, langEncoder);
IndexConstraintTypeEncoder<IndexField> datatypeEncoder = new DataTypeEncoder(indexValueFactory, fieldMapper);
constraintEncoders.put(IndexConstraintTypeEnum.DATATYPE, datatypeEncoder);
IndexConstraintTypeEncoder<IndexField> fieldEncoder = new FieldEncoder(fieldMapper);
constraintEncoders.put(IndexConstraintTypeEnum.FIELD, fieldEncoder);
constraintEncoders.put(IndexConstraintTypeEnum.EQ, new AssignmentEncoder(indexValueFactory));
constraintEncoders.put(IndexConstraintTypeEnum.WILDCARD, new WildcardEncoder(indexValueFactory));
constraintEncoders.put(IndexConstraintTypeEnum.REGEX, new RegexEncoder(indexValueFactory));
constraintEncoders.put(IndexConstraintTypeEnum.GE, new GeEncoder(indexValueFactory));