[ 
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.
AnalyticsComponent.prepare(AnalyticsComponent.java:46) 

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
(v7.6.3#76005)

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

Reply via email to