The issue I think is that process() is never called in my component, just
distributedProcess.
The server that hosts the component is a separate solr instance from the
shards, so my guess is process() is only called when that particular solr
instance has something to do with the index. distributedPr
I'm not totally on top of how distributed components work, but check:
http://wiki.apache.org/solr/WritingDistributedSearchComponents
and:
https://issues.apache.org/jira/browse/SOLR-680
Do you want each of the shards to append values? or just the final
result? If appending the values is not
Sorry for the extended question, but I am having trouble making
SearchComponent that can actually get at the returned response in a
distributed setup.
In my distributedProcess:
public int distributedProcess(ResponseBuilder rb) throws IOException {
How can I get at the returned results from a
Thanks grant and ryan, so far so good. But I am confused about one thing -
when I set this up like:
public void process(ResponseBuilder rb) throws IOException {
And put it as the last-component on a distributed search (a defaults shard
is defined in the solrconfig for the handler), the componen
No need to even write a new ReqHandler if you're using 1.3:
http://wiki.apache.org/solr/SearchComponent
On Oct 3, 2008, at 4:13 PM, Brian Whitman wrote:
Not sure if this is possible or easy: I want to make a
requestHandler that
acts just like select but does stuff with the output before
ret
take a look at the SearchComponent interface:
http://wiki.apache.org/solr/SearchComponent
with that, you can inject extra fields into each document before
passing them on
ryan
On Oct 3, 2008, at 4:13 PM, Brian Whitman wrote:
Not sure if this is possible or easy: I want to make a
requestH
Not sure if this is possible or easy: I want to make a requestHandler that
acts just like select but does stuff with the output before returning it to
the client.
e.g.
http://url/solr/myhandler?q=type:dog&sort=legsdesc&shards=dogserver1;dogserver2
When myhandler gets it, I'd like to take the resu