We're updating the issue view to help you get more done. 

Search 6 groundwork - Add more checks to detect un-projectable fields in the query DSL

Description

A field ought to be un-projectable if:

  • It is not stored (though that might not be relevant when extracting from source)

  • OR it is bridged and the bridge did not specify a "FromIndexFieldValueConverter" (see the work done in HSEARCH-3221) This has been moved to

Ideally we should throw an exception right when org.hibernate.search.v6poc.search.dsl.query.SearchQueryResultDefinitionContext#asProjections(java.lang.String...) is called to inform the user his projection is invalid.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major