[jira] [Commented] (SOLR-12045) Move Analytics Component from contrib to core

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (SOLR-12045) Move Analytics Component from contrib to core

JIRA jira@apache.org

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

Shawn Heisey commented on SOLR-12045:

Moving this component into core would solve another issue that a couple of people have encountered:

IllegalAccessError: tried to access field org.apache.solr.handler.component.
ResponseBuilder._isOlapAnalytics from class org.apache.solr.handler.
component.AnalyticsComponent at org.apache.solr.handler.component.

I've confirmed with one user that this is fixed by moving the jar to WEB-INF/lib.

Looks like loading Solr with one classloader and analytics with another classloader (using <lib> config) breaks package visibility on the field in ResponseBuilder.

> Move Analytics Component from contrib to core
> ---------------------------------------------
>                 Key: SOLR-12045
>                 URL: https://issues.apache.org/jira/browse/SOLR-12045
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public)
>    Affects Versions: master (8.0)
>            Reporter: Houston Putman
>            Priority: Major
>             Fix For: master (8.0)
>          Time Spent: 10m
>  Remaining Estimate: 0h
> The Analytics Component currently lives in contrib. Since it includes no external dependencies, there is no harm in moving it into core solr.
> The analytics component would be included as a default search component and the analytics handler (currently only used for analytics shard requests, might be transitioned to handle user requests in the future) would be included as an implicit handler.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]