I'm not totally following your problem, but i'll give it a shot.

You need to make sure the classpath for the solr web-app has
everything you need.  I suggested putting your test jsp file into the
solr web-app.

If your jsp test works, you should be able to use the JNI bindings from solr.

If your jsp test does not work, keep futzing with the classpath till
it does work.  The tomcat docs/mailing list is probably a good place
to get help with this

ryan


On 3/13/07, James liu <[EMAIL PROTECTED]> wrote:
I use jsp only for test.

you've gotten your analyzer/jar/jni/dll to work in a command line app, the
> next step before trying to use it in Solr is probably to try and use it in
> a simple JSP


Do u mean if it work well in cmd that meas it can use with solr?





2007/3/13, Ryan McKinley <[EMAIL PROTECTED]>:
>
> does your "use bean" jsp example work if you dump it into the exploded
> solr.war directory?
>
> (solr does not rely on jsp - it is only used for the admin interface.)
>
>
> On 3/12/07, James liu <[EMAIL PROTECTED]> wrote:
> > I can use it with jsp,,,,just use bean.
> >
> > how can i use it with solr?
> >
> > i think solr use jsp to index, search...
> >
> >
> >
> > 2007/3/13, Chris Hostetter <[EMAIL PROTECTED]>:
> > >
> > >
> > > : i have some.dll jni_some.dll, some_analyzer_func.jar whick used to
> > > anlyze. I
> > > : try it in cmd and it ok.
> > > :
> > > : now i wanna use it with solr so i have to use java call these dll
> files.
> > > :
> > > : I use tomcat 6, java 1.5_11, in winxp,,,jar files all set in
> tomcat's
> > > lib
> > > : directory. dll all set in sytem32 directory.
> > >
> > > DLLs are a weird windows voodoo i don't pretend to understand ... if
> > > you've gotten your analyzer/jar/jni/dll to work in a command line app,
> the
> > > next step before trying to use it in Solr is probably to try and use
> it in
> > > a simple JSP .. make a little webapp containing the lucene jar, your
> > > analyzer jar, and a simple JSP that runs some text through your
> analyzer
> > > ... the tomcat user community should be able to help you figure out
> how
> > > to get the JNI stuff working (and by using a simple little webapp,
> thye
> > > won't have to understand all of Solr)
> > >
> > > once you get that working, Solr should be cake.
> > >
> > >
> > > -Hoss
> > >
> > >
> >
> >
> > --
> > regards
> > jl
> >
>



--
regards
jl

Reply via email to