Search 6 groundwork - Add the missing common field type options compared to Search 5

Description

Norms is one option we're lacking in particular.
There may be others, see Search 5's org.hibernate.search.annotations.Field and org.hibernate.search.annotations.NumericField annotations.

See org.hibernate.search.engine.backend.types.dsl.StandardIndexFieldTypeContext, org.hibernate.search.engine.backend.types.dsl.StringIndexFieldTypeContext,org.hibernate.search.mapper.pojo.mapping.definition.annotation.GenericField,
org.hibernate.search.mapper.pojo.mapping.definition.annotation.FullTextField,
org.hibernate.search.mapper.pojo.mapping.definition.annotation.KeywordField,
in particular.

Note that:

  • indexNullAs has its own ticket: HSEARCH‌-3099

  • analyzer and normalizer were already restored, but only for some field types. That was on purpose and should not change.

  • store has been renamed to projectable

  • boost will be removed in Search 6

  • termVector may be deprecated in Lucene and if so we should remove it

  • bridge is now valueBridge

  • analyze must not be restored: it's only useful if we add support for "scoped" analyzer mapping (setting a default analyzer, assigning an analyzer to a type, assigning an analyzer to a property, ...), which we decided not to allow.

Let's discuss the options to restore before restoring them.

Environment

None

Activity

Show:
Fabio Massimo Ercoli
May 29, 2019, 10:08 AM

Handle `doc_values` in a different issue. We need to think about it.

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major
Configure