[infinispan-issues] [JBoss JIRA] (ISPN-11795) Entity mapping deprecations

Yoann Rodière (Jira) issues at jboss.org
Wed May 13 08:14:51 EDT 2020


    [ https://issues.redhat.com/browse/ISPN-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095361#comment-14095361 ] 

Yoann Rodière edited comment on ISPN-11795 at 5/13/20 8:14 AM:
---------------------------------------------------------------

Something else I just noticed: Infinispan 10/11 enables the option {{org.hibernate.search.cfg.Environment#INDEX_UNINVERTING_ALLOWED}}. This means Hibernate Search will accept sorts on fields that are not marked as {{@SortableField}}, but will print a warning every time it does, because that behavior is deprecated.

With Hibernate Search 6, this is no longer allowed: only fields marked as sortable can be sorted on. The option {{org.hibernate.search.cfg.Environment#INDEX_UNINVERTING_ALLOWED}} does not exist anymore.

So, you might want to stress that sorting on non-{{@SortableField}} fields is deprecated.


was (Author: y.rodiere):
Something else I just noticed: Infinispan 10/11 enable the option {{org.hibernate.search.cfg.Environment#INDEX_UNINVERTING_ALLOWED}}. This means Hibernate Search will accept sorts on fields that are not marked as {{@SortableField}}, but will print a warning every time it does, because that behavior is deprecated.

With Hibernate Search 6, this is no longer allowed: only fields marked as sortable can be sorted on. The option {{org.hibernate.search.cfg.Environment#INDEX_UNINVERTING_ALLOWED}} does not exist anymore.

So, you might want to stress that sorting on non-{{@SortableField}} fields is deprecated.

> Entity mapping deprecations
> ---------------------------
>
>                 Key: ISPN-11795
>                 URL: https://issues.redhat.com/browse/ISPN-11795
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Embedded Querying
>            Reporter: Gustavo Fernandes
>            Priority: Major
>              Labels: query-ispn11
>             Fix For: 11.0.0.Final
>
>
> * Custom FieldBridges
> * AnalyzerDef
> * Index time boost
> * Analyzer Discriminator
> * Default Analyzer
> * Default IndexNullAs



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list