|
Alexandre Rocco
2011-02-23, 18:13
Alexandre Rocco
2011-02-23, 21:11
Smiley, David W.
2011-02-23, 23:55
Estrada Groups
2011-02-24, 00:13
Bill Bell
2011-02-24, 00:24
Chris Hostetter
2011-02-24, 01:30
Alexandre Rocco
2011-02-24, 01:47
Mark
2011-02-24, 15:31
Chris Hostetter
2011-02-25, 00:43
Rob
2012-01-18, 00:38
Dyer, James
2012-01-18, 15:09
|
-
DataImportHandler in Solr 4.0Alexandre Rocco 2011-02-23, 18:13
Hi guys,
I'm having some issues when trying to use the DataImportHandler on Solr 4.0. I've downloaded the latest nightly build of Solr 4.0 and configured normally (on the example folder) solrconfig.xml file like this: <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">data-config.xml</str> </lst> </requestHandler> At this point I noticed that the DIH jar was not being loaded correctly causing exceptions like: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' and java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler Do I need to build to get DIH running on Solr 4.0? Thanks! Alexandre
-
DataImportHandler in Solr 4.0Alexandre Rocco 2011-02-23, 21:11
Hi guys,
I'm having some issues when trying to use the DataImportHandler on Solr 4.0. I've downloaded the latest nightly build of Solr 4.0 and configured normally (on the example folder) solrconfig.xml file like this: <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">data-config.xml</str> </lst> </requestHandler> At this point I noticed that the DIH jar was not being loaded correctly causing exceptions like: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' and java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler Do I need to build to get DIH running on Solr 4.0? Thanks! Alexandre
-
Re: DataImportHandler in Solr 4.0Smiley, David W. 2011-02-23, 23:55
The DIH is no longer supplied embedded in the Solr war file. You need to get it on the classpath somehow. You could add another <lib... statement to solrconfig.xml to resolve this.
~ David Smiley Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: > Hi guys, > > I'm having some issues when trying to use the DataImportHandler on Solr 4.0. > > I've downloaded the latest nightly build of Solr 4.0 and configured normally > (on the example folder) solrconfig.xml file like this: > > <requestHandler name="/dataimport" > class="org.apache.solr.handler.dataimport.DataImportHandler"> > <lst name="defaults"> > <str name="config">data-config.xml</str> > </lst> > </requestHandler> > > At this point I noticed that the DIH jar was not being loaded correctly > causing exceptions like: > Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' > and > java.lang.ClassNotFoundException: > org.apache.solr.handler.dataimport.DataImportHandler > > Do I need to build to get DIH running on Solr 4.0? > > Thanks! > Alexandre
-
Re: DataImportHandler in Solr 4.0Estrada Groups 2011-02-24, 00:13
Curious...why was this feature removed?
Adam On Feb 23, 2011, at 6:55 PM, "Smiley, David W." <[EMAIL PROTECTED]> wrote: > The DIH is no longer supplied embedded in the Solr war file. You need to get it on the classpath somehow. You could add another <lib... statement to solrconfig.xml to resolve this. > > ~ David Smiley > Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ > > On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: > >> Hi guys, >> >> I'm having some issues when trying to use the DataImportHandler on Solr 4.0. >> >> I've downloaded the latest nightly build of Solr 4.0 and configured normally >> (on the example folder) solrconfig.xml file like this: >> >> <requestHandler name="/dataimport" >> class="org.apache.solr.handler.dataimport.DataImportHandler"> >> <lst name="defaults"> >> <str name="config">data-config.xml</str> >> </lst> >> </requestHandler> >> >> At this point I noticed that the DIH jar was not being loaded correctly >> causing exceptions like: >> Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' >> and >> java.lang.ClassNotFoundException: >> org.apache.solr.handler.dataimport.DataImportHandler >> >> Do I need to build to get DIH running on Solr 4.0? >> >> Thanks! >> Alexandre > > > > > > > >
-
Re: DataImportHandler in Solr 4.0Bill Bell 2011-02-24, 00:24
It is a contrib module. But the example solrconfig should have the lib set.
Bill Bell Sent from mobile On Feb 23, 2011, at 5:13 PM, Estrada Groups <[EMAIL PROTECTED]> wrote: > Curious...why was this feature removed? > > Adam > > On Feb 23, 2011, at 6:55 PM, "Smiley, David W." <[EMAIL PROTECTED]> wrote: > >> The DIH is no longer supplied embedded in the Solr war file. You need to get it on the classpath somehow. You could add another <lib... statement to solrconfig.xml to resolve this. >> >> ~ David Smiley >> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >> >> On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: >> >>> Hi guys, >>> >>> I'm having some issues when trying to use the DataImportHandler on Solr 4.0. >>> >>> I've downloaded the latest nightly build of Solr 4.0 and configured normally >>> (on the example folder) solrconfig.xml file like this: >>> >>> <requestHandler name="/dataimport" >>> class="org.apache.solr.handler.dataimport.DataImportHandler"> >>> <lst name="defaults"> >>> <str name="config">data-config.xml</str> >>> </lst> >>> </requestHandler> >>> >>> At this point I noticed that the DIH jar was not being loaded correctly >>> causing exceptions like: >>> Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' >>> and >>> java.lang.ClassNotFoundException: >>> org.apache.solr.handler.dataimport.DataImportHandler >>> >>> Do I need to build to get DIH running on Solr 4.0? >>> >>> Thanks! >>> Alexandre >> >> >> >> >> >> >> >>
-
Re: DataImportHandler in Solr 4.0Chris Hostetter 2011-02-24, 01:30
: Curious...why was this feature removed? it hasn't been removed, it still ships with the solr releases as a contrib jar the same way it always did. what changed is that in the past it was mistakenly/foolishly/inexplicable also included in the solr.war -- even though it didn't need to be. This is loudly noted in the upgrading section of CHANGES.txt so people who were using it in previous releases and expected to it be embeded in the solr.war will have notice that they should update their configuration to include it as a plugin... https://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/CHANGES.txt?r1=1071480&r2=1072131 ...for people starting with the 3.x or 4.x example-DIH config files, they already include the neccessary <lib/> declaration. -Hoss
-
Re: DataImportHandler in Solr 4.0Alexandre Rocco 2011-02-24, 01:47
I got it working by building the DIH from the contrib folder and made a
change on the lib statements to map the folder that contains the .jar files. Thanks! Alexandre On Wed, Feb 23, 2011 at 8:55 PM, Smiley, David W. <[EMAIL PROTECTED]> wrote: > The DIH is no longer supplied embedded in the Solr war file. You need to > get it on the classpath somehow. You could add another <lib... statement to > solrconfig.xml to resolve this. > > ~ David Smiley > Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ > > On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: > > > Hi guys, > > > > I'm having some issues when trying to use the DataImportHandler on Solr > 4.0. > > > > I've downloaded the latest nightly build of Solr 4.0 and configured > normally > > (on the example folder) solrconfig.xml file like this: > > > > <requestHandler name="/dataimport" > > class="org.apache.solr.handler.dataimport.DataImportHandler"> > > <lst name="defaults"> > > <str name="config">data-config.xml</str> > > </lst> > > </requestHandler> > > > > At this point I noticed that the DIH jar was not being loaded correctly > > causing exceptions like: > > Error loading class > 'org.apache.solr.handler.dataimport.DataImportHandler' > > and > > java.lang.ClassNotFoundException: > > org.apache.solr.handler.dataimport.DataImportHandler > > > > Do I need to build to get DIH running on Solr 4.0? > > > > Thanks! > > Alexandre > > > > > > > > >
-
Re: DataImportHandler in Solr 4.0Mark 2011-02-24, 15:31
It seems this thread has been hijacked. My initial posting was in
regards to my custom Evaluators always receiving a null context. Same Evaluators work in 1.4.1 On 2/23/11 5:47 PM, Alexandre Rocco wrote: > I got it working by building the DIH from the contrib folder and made a > change on the lib statements to map the folder that contains the .jar files. > > Thanks! > Alexandre > > On Wed, Feb 23, 2011 at 8:55 PM, Smiley, David W.<[EMAIL PROTECTED]> wrote: > >> The DIH is no longer supplied embedded in the Solr war file. You need to >> get it on the classpath somehow. You could add another<lib... statement to >> solrconfig.xml to resolve this. >> >> ~ David Smiley >> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >> >> On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: >> >>> Hi guys, >>> >>> I'm having some issues when trying to use the DataImportHandler on Solr >> 4.0. >>> I've downloaded the latest nightly build of Solr 4.0 and configured >> normally >>> (on the example folder) solrconfig.xml file like this: >>> >>> <requestHandler name="/dataimport" >>> class="org.apache.solr.handler.dataimport.DataImportHandler"> >>> <lst name="defaults"> >>> <str name="config">data-config.xml</str> >>> </lst> >>> </requestHandler> >>> >>> At this point I noticed that the DIH jar was not being loaded correctly >>> causing exceptions like: >>> Error loading class >> 'org.apache.solr.handler.dataimport.DataImportHandler' >>> and >>> java.lang.ClassNotFoundException: >>> org.apache.solr.handler.dataimport.DataImportHandler >>> >>> Do I need to build to get DIH running on Solr 4.0? >>> >>> Thanks! >>> Alexandre >> >> >> >> >> >> >> >>
-
Re: DataImportHandler in Solr 4.0Chris Hostetter 2011-02-25, 00:43
: It seems this thread has been hijacked. My initial posting was in regards to : my custom Evaluators always receiving a null context. Same Evaluators work in : 1.4.1 I'm pretty sure you are talking about a completely different thread, with a completely differnet subject ("Solr 4.0 DIH") -Hoss
-
Re: DataImportHandler in Solr 4.0Rob 2012-01-18, 00:38
Not a java pro, and the documentation hasn't been updated to include these
instructions (at least that I could find). What do I need to do to perform the steps that Alexandre is talking about? -- View this message in context: http://lucene.472066.n3.nabble.com/DataImportHandler-in-Solr-4-0-tp2563053p3667942.html Sent from the Solr - User mailing list archive at Nabble.com.
-
RE: DataImportHandler in Solr 4.0Dyer, James 2012-01-18, 15:09
You need to find "apache-solr-solrj-4.0.jar" from your distribution and put it in the classpath somewhere. Perhaps the easiest thing is to include it in your core's "lib" directory.
James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -----Original Message----- From: Rob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 17, 2012 6:38 PM To: [EMAIL PROTECTED] Subject: Re: DataImportHandler in Solr 4.0 Not a java pro, and the documentation hasn't been updated to include these instructions (at least that I could find). What do I need to do to perform the steps that Alexandre is talking about? -- View this message in context: http://lucene.472066.n3.nabble.com/DataImportHandler-in-Solr-4-0-tp2563053p3667942.html Sent from the Solr - User mailing list archive at Nabble.com. |