But now i can't use it with solr.(i compiled solr with ant)
2007/3/13, James liu [EMAIL PROTECTED]:
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
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
short answer: No
long answer: You could with a custom request handler but it would be
meaningless.
There are more details on this in the LUcene FAQ which has few pointers to
past discussions on the lucene java mailing lists (there are many, MANY
more discussions about this in the lucene
: 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?
i mean that if you wrote a simple little command line
: Is there document that describes differences of these approaches, guides
: when to use which?
there is some guidence in these wiki pages...
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
http://wiki.apache.org/solr/SolrPlugins
In general, do what ever is easiest for you ... if