Since your users shouldn't be allowed at any time to access Solr directly, it's 
up to you to implement that on the client side anyway?

I can't tell if there is a technical difference between the two calls you 
named, but i'd guess that the second might be a more direct way to access this 
information (and probably a bit faster?).

-Stefan 


On Wednesday, November 27, 2013 at 5:22 PM, Dave Seltzer wrote:

> Hello,
> 
> I'm trying to get a list of top terms for a field called "Tags".
> 
> One way to do this would be to query all data *:* and then facet by the
> Tags column:
> /solr/collection/admin/select?q=*:*&rows=0&facet=true&facet.field=Tags
> 
> I've noticed another way to do this is using the luke interface like this:
> /solr/collection/admin/luke?fl=Tags&numTerms=20
> 
> One problem I see with the luke interface is that its inside the /admin/
> path, which to me means that my users shouldn't be able to access it.
> 
> Whats the most SOLRy way to do this?
> 
> Thanks!
> 
> -D 

Reply via email to