Search 6 groundwork - Only instantiate a QueryBuilder once per analyzer

Description

Currently, we instantiate one new QueryBuilder per property which is clearly suboptimal: we should instantiate only one per Analyzer/Normalizer.

Environment

None

Activity

Show:
Yoann Rodière
March 29, 2019, 9:55 AM

QueryBuilders are mutable and in some cases we need to parameterized them.

Also, instantiating a QueryBuilder is not particularly expensive, and we already instantiate lots of objects in the predicate DSL.

Closing, we'll open a ticket if we actually discover performance issues.

Assignee

Unassigned

Reporter

Guillaume Smet

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Major
Configure