: custom request handler, so I wrote the minimal class (attached), compiled
: and jar'd it, and placed it in example/lib. I added this to solrconfig.xml:
that's the crux of hte issue.
example/lib is where the jetty libraries live -- not solr plugins.
you should either put your custom jar's in t
Thanks Simon. I'll try again tomorrow.
Tom
On 10 August 2011 18:46, simon wrote:
> This is in trunk (up to date). Compiler is 1.6.0_26
>
> classpath was
>
> dist/apache-solr-solrj-4.0-SNAPSHOT.jar:dist/apache-solr-core-4.0-SNAPSHOT.jar
> built from trunk just prior by 'ant dist'
>
> I'd try a
This is in trunk (up to date). Compiler is 1.6.0_26
classpath was
dist/apache-solr-solrj-4.0-SNAPSHOT.jar:dist/apache-solr-core-4.0-SNAPSHOT.jar
built from trunk just prior by 'ant dist'
I'd try again with a clean trunk .
-Simon
On Wed, Aug 10, 2011 at 1:20 PM, Tom Mortimer wrote:
> Interest
Interesting.. is this in trunk (4.0)? Maybe I've broken mine somehow!
What classpath did you use for compiling? And did you copy anything other
than the new jar into lib/ ?
thanks,
Tom
On 10 August 2011 18:07, simon wrote:
> It's working for me. Compiled, inserted in solr/lib, added the confi
It's working for me. Compiled, inserted in solr/lib, added the config
line to solrconfig.
when I send a /flaxtest request i get
0
16
Hello!
I was doing this within a core defined in solr.xml
-Simon
On Wed, Aug 10, 2011 at 11:46 AM, Tom Mortimer wrote:
> Sure -
>
> import org.apache.solr
Sure -
import org.apache.solr.request.SolrQueryRequest;
import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.handler.RequestHandlerBase;
public class FlaxTestHandler extends RequestHandlerBase {
public FlaxTestHandler() { }
public void handleRequestBody(SolrQueryReq
Th attachment isn't showing up (in gmail, at least). Can you inline
the relevant bits of code ?
On Wed, Aug 10, 2011 at 11:05 AM, Tom Mortimer wrote:
> Hi,
> Apologies if this is really basic. I'm trying to learn how to create a
> custom request handler, so I wrote the minimal class (attached), c
Hi,
Apologies if this is really basic. I'm trying to learn how to create a
custom request handler, so I wrote the minimal class (attached), compiled
and jar'd it, and placed it in example/lib. I added this to solrconfig.xml:
When I started Solr with java -jar start.jar, I got this:
...