[
https://issues.apache.org/jira/browse/SOLR-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068755#comment-13068755
]
Hoss Man commented on SOLR-2588:
--------------------------------
bq. I think the module should be included in the .war and configured in the
example solrconfig.
Ryan: Your comments seem contradictory ... was that a typo? did you mean it
should *not* be in the war, but still configured in the example (like
clustering, and extraction?)
bq. I very much like the idea of making Velocity a module, one that isn't
absolutely required, and one that is included by default.
I didn't really have any opinions about SOLR-1957 in the first place, I've got
no opinions on reverting it now and pushing the VelocityWriter back into a
contrib (on par with dataimporthandler, clustering, extraction, uima, etc...)
that is used/demoed in the main example configs using a relative {{<lib />}}
directive (just like clustering and extraction)
But under no circumstances can i go along with a "core" feature be treated like
a second class citizen. either it's core and it's a first class citizen; or
it's not, and it lives in it's own plugin jar with documented dependencies and
clear instructions that it needs to be explicitly loaded via configuration.
> Make Velocity an optional dependency in SolrCore
> ------------------------------------------------
>
> Key: SOLR-2588
> URL: https://issues.apache.org/jira/browse/SOLR-2588
> Project: Solr
> Issue Type: Wish
> Affects Versions: 3.2
> Reporter: Gunnar Wagenknecht
> Assignee: David Smiley
> Priority: Minor
> Fix For: 3.4, 4.0
>
> Attachments: SOLR-2588_Don_t_fail_if_velocity_libs_not_present_.patch
>
>
> In 1.4. it was fine to run Solr without Velocity on the classpath. However,
> in 3.2. SolrCore won't load because of a hard reference to the Velocity
> response writer in a static initializer.
> {noformat}
> ... ERROR org.apache.solr.core.CoreContainer -
> java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
> at org.apache.solr.core.SolrCore.<clinit>(SolrCore.java:1447)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
> at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
> at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]