You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Alexander Herzog <he...@ait.co.at> on 2009/08/21 12:01:55 UTC
Get used indices
Hi
I'm using dynamic fields and was wandering how to retrieve information
about used indices (wether they are empty and what actually do exist)
via a a rest call?
I get a list of fieldnames at the admin location and I wanted to
retrieve this information in my php application.
Thanks,
Alexander
Re: Get used indices
Posted by Erik Hatcher <er...@gmail.com>.
On Aug 21, 2009, at 5:44 PM, Shalin Shekhar Mangar wrote:
> On Fri, Aug 21, 2009 at 3:31 PM, Alexander Herzog
> <he...@ait.co.at> wrote:
>
>> Hi
>>
>> I'm using dynamic fields and was wandering how to retrieve
>> information
>> about used indices (wether they are empty and what actually do exist)
>> via a a rest call?
>>
>
> Did you mean used field names instead of indices?
>
> I think /admin/luke can give you such information but I'm not sure.
> It maybe
> a bit slow because it needs to comb through the index files to
> gather this
> information.
/admin/luke?numTerms=0 makes it faster and still returns all the field
names.
Erik