lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MitchK <mitc...@web.de>
Subject Re: nested query and number of matched records
Date Wed, 21 Jul 2010 16:26:28 GMT

Thank you three for your feedback!

Chantal, unfortuntately kenf is right. Facetting won't work in this special
case. 


> parallel calls.
> 
Yes, this will be the solution. However, this would lead to a second
HTTP-request and I hoped to be able to avoid it.


Chantal Ackermann wrote:
> 
> Sure SOLR supports this: use facets on the field "type":
> 
> add to your regular query:
> 
> facet.query=true&facet.field=type
> 
> see http://wiki.apache.org/solr/SimpleFacetParameters
> 
> 
> On Wed, 2010-07-21 at 15:48 +0200, kenf_nc wrote:
>> parallel calls. simultaneously query for type:short rows=10  and
>> type:extensive rows=1  and merge your results.  This would also let you
>> separate your short docs from your extensive docs into different solr
>> instances if you wished...depending on your document architecture this
>> could
>> speed up one or the other.
> 
> 
> 
> 
> 
-- 
View this message in context: http://lucene.472066.n3.nabble.com/nested-query-and-number-of-matched-records-tp983756p984750.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message