Nick Burch-2 wrote
> 
> On Mon, 6 Aug 2012, 122jxgcn wrote:
>> In order to AutoDetectParser to pick up my parser, I followed the 
>> instructions listed in 
>> http://tika.apache.org/1.1/parser_guide.html#List_the_new_parser 
>> However, AutoDetectParser is not picking up my parser when I do Parser 
>> parser = new AutoDetectParser(); inside the ParserTest
> 
> Did you make sure both your parser and the service file are on the 
> classpath? If you miss one or both then your new parser won't be loaded
> 
> Nick
> 

I'm sorry but can you be more specific?
I'm not sure what do you mean by service file.
Also, my custom parser is not a jar, it's just a java file like every other
default parsers,
so I'm not sure what do you mean by adding parser and the service file to
the classpath.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/AutoDetectParser-not-picking-up-custom-parser-tp3999358p3999493.html
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to