Nope! Each document comes back with its own list of stored fields. If you want 
to find all fields in an index, you have to fetch every last document and OR in 
the fields in that document. There is no Solr call to get a full list of static 
or dynamic fields.

If you use lots of dynamic fields I can see how this would be useful for 
pan-index tasks like assessing data quality.

----- Original Message -----
| From: "Jack Krupansky" <j...@basetechnology.com>
| To: solr-user@lucene.apache.org
| Sent: Friday, October 26, 2012 7:41:58 PM
| Subject: Re: Get metadata for query
| 
| I'm not sure I understand the real question here. What is the
| "metadata".
| 
| I mean, q=x&fl=* gives you all the (stored) fields for documents
| matching
| the query.
| 
| What else is there?
| 
| -- Jack Krupansky
| 
| -----Original Message-----
| From: Lance Norskog
| Sent: Friday, October 26, 2012 9:42 PM
| To: solr-user@lucene.apache.org
| Subject: Re: Get metadata for query
| 
| Ah, there's the problem- what is a fast way to fetch all fields in a
| collection, including dynamic fields?
| 
| ----- Original Message -----
| | From: "Otis Gospodnetic" <otis.gospodne...@gmail.com>
| | To: solr-user@lucene.apache.org
| | Sent: Friday, October 26, 2012 3:05:04 PM
| | Subject: Re: Get metadata for query
| |
| | Hi,
| |
| | No... but you could simply query your index, get all the fields you
| | need and process them to get what you need.
| |
| | Otis
| | --
| | Search Analytics - http://sematext.com/search-analytics/index.html
| | Performance Monitoring - http://sematext.com/spm/index.html
| |
| |
| | On Fri, Oct 26, 2012 at 10:19 AM, Torben Honigbaum
| | <torben.honigb...@neuland-bfi.de> wrote:
| | > Hi everybody,
| | >
| | > with http://localhost:8983/solr/admin/luke it's possible to get
| | > metadata for all indices. But is there a way to get only the
| | > metadata for a special query? I want to query all documents which
| | > are in a special category. For the query I need the metadata
| | > containing a list of all fields of the documents.
| | >
| | > Thank you
| | > Torben
| | 
| 
| 

Reply via email to