Sujatha,
As the API of the classes you're compiling against may have changed
with a different Solr version, it's always a good idea to build
against the new version of Solr, otherwise you might see weird issues
at runtime.
You wouldn't have to do anything special other than to drop your src
file
What I would be doing is this ..
Create a custom class that refer to all org,apache.* classes (import stt)
,the custom file's location is independent of the solr core class files.
compile this separately
package this as a jar
move this to lib dir of each solr core
refer to this in lib directory
No, the jar would be exactly the same, with the caveat that you'd have
to build against the newer Solr version of course.
Michael Della Bitta
Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017
www.appinions.com
Where Influence Isn’t a Ga
Thanks ,I am going to try this on solr 1.3 version .Would the approach be
any different for the recent sorl versions?
Regards
Sujatha
On Mon, Aug 13, 2012 at 8:53 PM, Michael Della Bitta <
michael.della.bi...@appinions.com> wrote:
> Then you're on the right track.
>
> 1. You'd either have to res
Then you're on the right track.
1. You'd either have to restart Tomcat or in the case of Multicore
setups, reload the core.
2. If the jar has dependencies outside of the Solr provided classes,
you'll have to include those as well. If it only depends on Solr stuff
or things that are in the servlet
Adding a new class
Regards
Sujatha
On Mon, Aug 13, 2012 at 5:54 PM, Michael Della Bitta <
michael.della.bi...@appinions.com> wrote:
> Michael Della Bitta
> Hi Sujatha,
>
> Are you adding a new class, or modifying one of the provided Solr classes?
>
> Michael
>
>
> ---
Michael Della Bitta
Hi Sujatha,
Are you adding a new class, or modifying one of the provided Solr classes?
Michael
Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017
www.appinions.com
Where Influence Isn’t a Game
On Mon, Aug 13, 2012
Hi ,
I would like to write a custom component for solr to address a particular
issue.
This is what I have been doing ,write the custom code directly in the
downloaded code base and rebuild the war file and deploy the same. We
currently have multiple cores ,hence I want to approach this in a cor