Re: get the fields of solr

2008-07-08 Thread wojtekpia
Thanks. Can I search for fields using the luke handler? I'd like to be able to say something like: solr/admin/luke?fl=a* where the '*' is a wildcard not necessarily related to dynamic fields. I will have at least a few hundred dynamic fields, so I'd rather not load all fields into memory in th

Re: get the fields of solr

2008-06-17 Thread Chris Hostetter
: I'm able to get the fields specified in my schema with this query: : /solr/admin/luke?show=schema&numTerms=0 that's what the "show=schema" does .. if you want all the field names regardless of wether they were explicitly or dynamicly created you just leave that option off... http://l

Re: get the fields of solr

2008-06-16 Thread wojtekpia
I'm able to get the fields specified in my schema with this query: /solr/admin/luke?show=schema&numTerms=0 But it doesn't show me dynamic fields that I've created. Is there a way to get dynamic fields as well? Yonik Seeley wrote: > > On Dec 20, 2007 8:47 PM, Edward Zhang <[EMAIL PROTECTED]> w

Re: get the fields of solr

2007-12-20 Thread Edward Zhang
Wow, thanks for Yonik 's quick reply! :) That is what I want! I just tried numTerms=500 then I ignored the useness of numTerms. On 12/21/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > On Dec 20, 2007 8:47 PM, Edward Zhang <[EMAIL PROTECTED]> wrote: > > I tried it, but the "QTime" was beyond

Re: get the fields of solr

2007-12-20 Thread Yonik Seeley
On Dec 20, 2007 8:47 PM, Edward Zhang <[EMAIL PROTECTED]> wrote: > I tried it, but the "QTime" was beyond my tolerance.It costs me about 53s > on average to "show=schema". That's probably because Luke tries to find the top terms for each field by default. Try passing in numTerms=0 -Yonik The i

Re: get the fields of solr

2007-12-20 Thread Edward Zhang
Thanks, Ryan! I tried it, but the "QTime" was beyond my tolerance.It costs me about 53s on average to "show=schema".The index contains *5456360 *documents. The index was optimized.Is there any more fast way? Information responsed as follows: * * - - 0 50187 This response format is

Re: get the fields of solr

2007-12-20 Thread Ryan McKinley
Check the LukeRequestHandler: http://wiki.apache.org/solr/LukeRequestHandler Edward Zhang wrote: I need to get all the fields of a remote solr istance. I try to parse the xmlstream returned by "admin/get-file.jsp?file=schema.xml&core=core1".Is there any other way? BTW: The xmlstream contain 3