:            Is there any way to get all the fields (irrespective of whether
: it contains a value or null) in solrDocument.

no.  a document only has "Field" instances for the fields which it has 
values for.  it's also not a feature that would even be theoretically 
posisbly to add, becuase of dynamicFields.  If you have even one single 
dynmaicField declaration, then there is an infinite number of possible 
fields.

: Is there any way to get all the fields in schema.xml of the url link (
: http://localhost:8983/solr/core0/)??

Take a look at http://localhost:8983/solr/core0/admin/luke?show=schema ... 
it can programaticly return details about the schema (including all the 
fields and dynamicFields) to your application.



-Hoss

Reply via email to