lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Roustant (JIRA)" <>
Subject [jira] [Commented] (SOLR-11865) Refactor QueryElevationComponent to prepare query subset matching
Date Fri, 27 Apr 2018 13:53:00 GMT


Bruno Roustant commented on SOLR-11865:

Actually the TrieSubsetMatcher introduced by the next patch does not support keepElevationPriority.
If keepElevationPriority=true, this matcher is replaced by another, which keeps the order
but which is less efficient. And this is done at component initialization time, in the inform()
method (in loadElevationProvider()).

So I think it cannot be a query param because it is fixed in the data structure at initialization

> Refactor QueryElevationComponent to prepare query subset matching
> -----------------------------------------------------------------
>                 Key: SOLR-11865
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SearchComponents - other
>    Affects Versions: master (8.0)
>            Reporter: Bruno Roustant
>            Priority: Minor
>              Labels: QueryComponent
>             Fix For: master (8.0)
>         Attachments: 0001-Refactor-QueryElevationComponent-to-introduce-Elevat.patch,
0002-Refactor-QueryElevationComponent-after-review.patch, 0003-Remove-exception-handlers-and-refactor-getBoostDocs.patch,
> The goal is to prepare a second improvement to support query terms subset matching or
query elevation rules.
> Before that, we need to refactor the QueryElevationComponent. We make it extendible.
We introduce the ElevationProvider interface which will be implemented later in a second patch
to support subset matching. The current full-query match policy becomes a default simple MapElevationProvider.
> - Add overridable methods to handle exceptions during the component initialization.
> - Add overridable methods to provide the default values for config properties.
> - No functional change beyond refactoring.
> - Adapt unit test.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message