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

Switch to docvalues instead of stored fields for Hibernate Search metadata in Lucene documents

Description

Doc values are supposedly a more efficient way to look up a particular field value for a particular document. Maybe we should use that to retrieve document IDs when searching, instead of relying on the stored fields and indexSearch.doc( ... )?

See the comments on https://github.com/hibernate/hibernate-search/pull/2043/ (second review) in particular.

We'll need to check whether there is an actual performance improvement.

Note that stored fields are also useful when debugging using luke, so we may not want to disable field storage... ?

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major