Re: Getting all field names in a Solr index via SolrJ

2011-06-11 Thread Public Network Services
Sure, I just attempted to use the term as a shorthand. :-) The schema browser that the web admin interface uses, however, makes Ajax calls to the LukeRequestHandler. Has anyone implemented this in pure Java? On Sat, Jun 11, 2011 at 4:43 AM, Chris Hostetter wrote: > > : Yes. So the consensus is

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Chris Hostetter
: Yes. So the consensus is that it can only be done via Luke. I would expect : it to be easier than that. Luke != LukeRequestHandler LukeRequestHandler is built into solr, and is *exactly* how the web ui of Solr lists all the fields. http://wiki.apache.org/solr/LukeRequestHandler -Hoss

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Public Network Services
I do need all the fields, including the dynamic ones. Thanks very much for all he advice. On Fri, Jun 10, 2011 at 10:58 PM, Ahmet Arslan wrote: > > > Yes. So the consensus is that it can > > only be done via Luke. I would expect > > it to be easier than that. > > If you use &numTerms=0 things

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Ahmet Arslan
> Yes. So the consensus is that it can > only be done via Luke. I would expect > it to be easier than that. If you use &numTerms=0 things will be fast. By the way if you dont care about dynamic fields, you can extract field names from schema.xml too (via ShowFileRequestHandler)

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Public Network Services
Yes. So the consensus is that it can only be done via Luke. I would expect it to be easier than that. Thanks! On Fri, Jun 10, 2011 at 9:05 PM, Ahmet Arslan wrote: > > > Sure, but how does the web admin do > > > it without Luke? > > > > admin/analysis.jsp uses luke too. > > > > Sorry I wrote it

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Ahmet Arslan
> > Sure, but how does the web admin do > > it without Luke? > > admin/analysis.jsp uses luke too. > Sorry I wrote it wrong. I was referring /admin/schema.jsp

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Erick Erickson
note the URL above (esp LukeRequestHandler). Best Erick On Fri, Jun 10, 2011 at 12:04 PM, Public Network Services wrote: > Sure, but how does the web admin do it without Luke? > > > On Fri, Jun 10, 2011 at 6:53 PM, Stefan Matheis < > matheis.ste...@googlemail.com> wrote: > >> If you really want

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Ahmet Arslan
> Sure, but how does the web admin do > it without Luke? admin/analysis.jsp uses luke too.

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Public Network Services
Sure, but how does the web admin do it without Luke? On Fri, Jun 10, 2011 at 6:53 PM, Stefan Matheis < matheis.ste...@googlemail.com> wrote: > If you really want to have _all_ defined (and therefore possible > fields) you should have a look to > http://wiki.apache.org/solr/LukeRequestHandler > >

Re: Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Stefan Matheis
If you really want to have _all_ defined (and therefore possible fields) you should have a look to http://wiki.apache.org/solr/LukeRequestHandler Regards Stefan On Fri, Jun 10, 2011 at 5:48 PM, Public Network Services wrote: > Hi... > > I would like to get a list of all field names in a Solr ind

Getting all field names in a Solr index via SolrJ

2011-06-10 Thread Public Network Services
Hi... I would like to get a list of all field names in a Solr index, much like the web admin can list all these fields in Schema Browser. It sounds trivial, but still looking around as to how it would best be implemented. If I run a query with the wildcard string ("*:*"), not all field names are