Re: Making a 'isPartialResults' getter for ResponseBuilder / SolrQueryResponse

2010-04-07 Thread Frank Wesemann

Kaktu Chakarabati schrieb:

Does anyone else think it might be useful to add a 'isPartialResults()'
method to ResponseBuilder / QueryResponse?
this can be set e.g in ResponseBuilder.setResult()

  

I'd like to have it on the QueryResponse.

--
mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH USt-IdNr. DE812854514
Software EntwicklungWeb: http://www.fotofinder.com/
Potsdamer Str. 96   Tel: +49 30 25 79 28 90
10785 BerlinFax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky





Re: Making a 'isPartialResults' getter for ResponseBuilder / SolrQueryResponse

2010-04-06 Thread Peter Sturge
+1 from me.

Have a look at SOLR-1143, which relates to this, regarding providing details
of why results may be partial.

Peter


On Tue, Apr 6, 2010 at 12:59 AM, Chris Hostetter
hossman_luc...@fucit.orgwrote:


 : Does anyone else think it might be useful to add a 'isPartialResults()'
 : method to ResponseBuilder / QueryResponse?
 : this can be set e.g in ResponseBuilder.setResult()

 Seems like a good idea to me.



 -Hoss




Re: Making a 'isPartialResults' getter for ResponseBuilder / SolrQueryResponse

2010-04-05 Thread Chris Hostetter

: Does anyone else think it might be useful to add a 'isPartialResults()'
: method to ResponseBuilder / QueryResponse?
: this can be set e.g in ResponseBuilder.setResult()

Seems like a good idea to me.



-Hoss



Making a 'isPartialResults' getter for ResponseBuilder / SolrQueryResponse

2010-03-26 Thread Kaktu Chakarabati
Hey,
While working with some custom query components we've came across a
situation that I thought might
be worthwhile of a small patch:

The issue is that some components in the query handling chain might want to
know whether the results
returned by the IndexSearcher are partial (e.g because of use of the
timeAllowed parameter).
After some tracing through the solr code, i noticed this is possible in a
somewhat contrived way, e.g using
rb.rsp.getResponseHeader().get(partialResults).

Does anyone else think it might be useful to add a 'isPartialResults()'
method to ResponseBuilder / QueryResponse?
this can be set e.g in ResponseBuilder.setResult()

Thanks,
-Chak