Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
Grant Ingersoll wrote: btw, is https://issues.apache.org/jira/browse/SOLR-402 the issue you were referring to? yes. -Grant On Feb 8, 2008, at 4:14 PM, Ryan McKinley wrote: I think Erik was looking at this earlier... I think there may be an open JIRA issue for it, but don't recall whic

Re: SolrJ and RawResponses

2008-02-08 Thread Yonik Seeley
On Feb 8, 2008 5:13 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Thinking about this some more... yes, the SolrRequest should say what > parser is used. It is the request that has to deal with the output in > the end. I could see it either way really... passed as a param to request() or as an

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
Thinking about this some more... yes, the SolrRequest should say what parser is used. It is the request that has to deal with the output in the end. Any change here need to make sure to address lines 125,126 of CommonsHttpSolrServer _invariantParams.set( CommonParams.WT, _processor.getWrit

Re: SolrJ and RawResponses

2008-02-08 Thread Grant Ingersoll
On Feb 8, 2008, at 4:39 PM, Yonik Seeley wrote: On Feb 8, 2008 4:27 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: OK, I will look into it. setProcessor is only defined for the CommonsHttpSolrServer and I am trying to use the abstract SolrServer, but I guess I can cast. Also, the setProcesso

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
what about extending CommonsHttpSolrServer and setting the _processor in the constructor? I guess it depends on how things will be used. ryan Grant Ingersoll wrote: OK, I will look into it. setProcessor is only defined for the CommonsHttpSolrServer and I am trying to use the abstract SolrSe

Re: SolrJ and RawResponses

2008-02-08 Thread Grant Ingersoll
btw, is https://issues.apache.org/jira/browse/SOLR-402 the issue you were referring to? -Grant On Feb 8, 2008, at 4:14 PM, Ryan McKinley wrote: I think Erik was looking at this earlier... I think there may be an open JIRA issue for it, but don't recall which one off the top of my head.

Re: SolrJ and RawResponses

2008-02-08 Thread Yonik Seeley
On Feb 8, 2008 4:27 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > OK, I will look into it. setProcessor is only defined for the > CommonsHttpSolrServer and I am trying to use the abstract SolrServer, > but I guess I can cast. Also, the setProcessor isn't great in that it > isn't thread-safe (i

Re: SolrJ and RawResponses

2008-02-08 Thread Grant Ingersoll
OK, I will look into it. setProcessor is only defined for the CommonsHttpSolrServer and I am trying to use the abstract SolrServer, but I guess I can cast. Also, the setProcessor isn't great in that it isn't thread-safe (i.e. if I am reusing said SolrServer for other tasks in other thread

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
I think Erik was looking at this earlier... I think there may be an open JIRA issue for it, but don't recall which one off the top of my head. I think you want an ResponseParser that just stuffs the text into the named list. If you have any trouble, i can throw something together real quick.

SolrJ and RawResponses

2008-02-08 Thread Grant Ingersoll
I want to programmatically retrieve the schema and the config from the ShowFileRequestHandler. I have tried doing it (mostly just to see how it would handle it w/o looking at the code) using SolrJ, but get in an exception in the XMLResponseParser in SolrJ. Ideally, I guess SolrJ would stu