lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7968) Allow extending QueryComponent
Date Mon, 01 Feb 2016 03:35:39 GMT

    [ https://issues.apache.org/jira/browse/SOLR-7968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125697#comment-15125697
] 

ASF subversion and git services commented on SOLR-7968:
-------------------------------------------------------

Commit ef2fda90b6f3aea131c83f3ca49b47abb00b920f in lucene-solr's branch refs/heads/branch_5x
from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ef2fda9 ]

SOLR-7968: Make QueryComponent extensible


> Allow extending QueryComponent
> ------------------------------
>
>                 Key: SOLR-7968
>                 URL: https://issues.apache.org/jira/browse/SOLR-7968
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 5.2.1
>            Reporter: Markus Jelsma
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 5.5
>
>         Attachments: SOLR-7968.patch, SOLR-7968.patch
>
>
> QueryComponent is, after all this time, still not extendable. Overriding a simple method
is mostly impossible due to members being private or usage of non-public classes. Copying
all code to an external class is also not going to work because of this. This patch finally
allows overriding QueryComponent methods such as createMainQuery and mergeIds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message