You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by archit2112 <ar...@gmail.com> on 2013/07/01 10:30:36 UTC
Index pdf files.
Hi I'm new to Solr. I want to index pdf files usng the Data Import Handler.
Im using Solr-4.3.0. I followed the steps given in this post
http://lucene.472066.n3.nabble.com/indexing-with-DIH-and-with-problems-td3731129.html
However, I get the following error -
Full Import failed:java.lang.NoClassDefFoundError:
org/apache/tika/parser/Parser
Please help!
Thanks
--
View this message in context: http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Index pdf files.
Posted by archit2112 <ar...@gmail.com>.
I figured it out. It was a problem with the regular expression i used in
data-config.xml .
--
View this message in context: http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278p4074304.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Index pdf files.
Posted by Erick Erickson <er...@gmail.com>.
OK, have you done anything custom? You get
this where? solr logs? Echoed back in the browser?
In response to what command?
You haven't provided enough info to help us help you.
You might review:
http://wiki.apache.org/solr/UsingMailingLists
Best
Erick
On Mon, Jul 1, 2013 at 6:08 AM, archit2112 <ar...@gmail.com> wrote:
> Hi
>
> Thanks a lot. I did what you said. Now I'm getting the following error.
>
> Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException:
> java.util.regex.PatternSyntaxException: Dangling meta character '*' near
> index 0
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278p4074297.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
Re: Index pdf files.
Posted by archit2112 <ar...@gmail.com>.
Hi
Thanks a lot. I did what you said. Now I'm getting the following error.
Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException:
java.util.regex.PatternSyntaxException: Dangling meta character '*' near
index 0
--
View this message in context: http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278p4074297.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Index pdf files.
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
The tika jars are not in your classpath. You need to add all the jars
inside contrib/extraction/lib directory to your classpath.
On Mon, Jul 1, 2013 at 2:00 PM, archit2112 <ar...@gmail.com> wrote:
> Hi I'm new to Solr. I want to index pdf files usng the Data Import Handler.
> Im using Solr-4.3.0. I followed the steps given in this post
>
> http://lucene.472066.n3.nabble.com/indexing-with-DIH-and-with-problems-td3731129.html
>
> However, I get the following error -
>
> Full Import failed:java.lang.NoClassDefFoundError:
> org/apache/tika/parser/Parser
>
> Please help!
>
> Thanks
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278.html
> Sent from the Solr - User mailing list archive at Nabble.com.
--
Regards,
Shalin Shekhar Mangar.