Re: UIMA analysisEngine path

2011-05-18 Thread Tommaso Teofili
e > > > > >> the correct classpath in the analysisEngine element. > > > > >> For example if your descriptor resides in com/something/desc/ path > > > > inside > > > > >> the jar then you should set the analysisEngine element as > > > > &

Re: UIMA analysisEngine path

2011-05-17 Thread chamara
gt; > > >> For example if your descriptor resides in com/something/desc/ path > > > inside > > > >> the jar then you should set the analysisEngine element as > > > >> /com/something/desc/descriptorname.xml > > > >> If you instead need to

Re: UIMA analysisEngine path

2011-05-17 Thread Tommaso Teofili
;> Tommaso > > >> > > >> [1] : https://issues.apache.org/jira/browse/SOLR-2501 > > >> > > >> 2011/5/13 chamara <[hidden email]< > > http://user/SendEmail.jtp?type=node&node=2946920&i=0>> > > > > >> > >

Re: UIMA analysisEngine path

2011-05-17 Thread chamara
sues.apache.org/jira/browse/SOLR-2501 > >> > >> 2011/5/13 chamara <[hidden email]< > http://user/SendEmail.jtp?type=node&node=2946920&i=0>> > > >> > >> > >>> Hi, > >>> Is this code line 57 needs to b

Re: UIMA analysisEngine path

2011-05-16 Thread Tommaso Teofili
gt; 2011/5/13 chamara <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=2946920&i=0>> >> >> >>> Hi, >>> Is this code line 57 needs to be changed to the location where the jar >>> files(library files) resides? &

Re: UIMA analysisEngine path

2011-05-16 Thread chamara
t; files(library files) resides? > > URL url = this.getClass().getResource(""); I > > did > > change it but no luck so far. Let me know what i am doing wrong? > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/U

Re: UIMA analysisEngine path

2011-05-16 Thread Tommaso Teofili
ine 57 needs to be changed to the location where the jar > files(library files) resides? > URL url = this.getClass().getResource(""); I > did > change it but no luck so far. Let me know what i am doing wrong? > > -- > View this message in context: > http://lucene.

Re: UIMA analysisEngine path

2011-05-13 Thread chamara
e.com/UIMA-analysisEngine-path-tp2895284p2935541.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: UIMA analysisEngine path

2011-05-06 Thread Tommaso Teofili
Hello Barry, 2011/5/6 Barry Hathaway > Thanks for creating the case to track the requirement. > I really don't agree with your comments about using relative paths though. > The only way to specify the AE's making up an aggregate AE is to use a > "", > leaving you to choose either a absolute, rel

Re: UIMA analysisEngine path

2011-05-06 Thread Barry Hathaway
Thanks for creating the case to track the requirement. I really don't agree with your comments about using relative paths though. The only way to specify the AE's making up an aggregate AE is to use a "", leaving you to choose either a absolute, relative, or a URL. All of these are not that gre

Re: UIMA analysisEngine path

2011-05-06 Thread Tommaso Teofili
Barry, I understand your need and I agree with you it'd be useful to be able to load AEs also from filesystem, I created SOLR-2501 [1] to track that requirement. Consider that loading AEs from relative paths, as using relative paths in general, is not a good practice since different environments co

Re: UIMA analysisEngine path

2011-05-05 Thread Barry Hathaway
Tommaso, Thanks. Now Solr finds the descriptor; however, I think this is very bad practice. Descriptors really aren't meant to be jarred up. They often contain relative paths. For example, in my case I have a directory that looks like: appassemble |- desc |- pear where the

Re: UIMA analysisEngine path

2011-05-04 Thread Tommaso Teofili
Hello Barry, the main AnalysisEngine descriptor defined inside the element should be inside one of the jars imported with the elements. At the moment it cannot be taken from expanded directories but it should be easy to do it (and indeed useful) modifying the OverridingParamsAEProvider class [1]

UIMA analysisEngine path

2011-05-03 Thread Barry Hathaway
I'm new to Solr and trying to get it call a UIMA aggregate analysis engine and not having much luck. The null pointer exception indicates that it can't find the xml file associated with the engine. I have tried a number of combinations of a path in the element, but nothing seems to work. In ad