lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: TermsComponent, multiple fields, total count
Date Wed, 20 Jan 2010 02:28:12 GMT

On Jan 19, 2010, at 3:55 PM, Otis Gospodnetic wrote:
>> a search "quality" meter. As in indicate the total number of  
>> matches (doesnt
>> need to be accurate, just a ballpark figure especially if there are  
>> a lot of
>> matches)
> As in, you want each suggestion include the number of documents it  
> would match if that suggestion would be run as the query?
> Wouldn't that require one to execute that query, so if you want to  
> show 10 suggestions, you'd hit Solr 10 times?

Not if you use faceting with the facet.prefix capability :)  It gives  
back counts per term suggested.


View raw message