I.e. we need a way to know which predicates/sorts/projections/etc. are available for a given field. This will make it possible to implement something similar to jpamodelgen, where classes are generated at compile-time to represent the index metamodel and can be used in the Search DSL (something that's been requested before). There was (limited) support for that in Search 5, through org.hibernate.search.metadata.FieldSettingsDescriptor#getType, org.hibernate.search.metadata.FieldSettingsDescriptor#getIndex, org.hibernate.search.metadata.FieldSettingsDescriptor#getStore. This ticket is a follow-up on HSEARCH-3589 In Progress . |