lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Sorst <>
Subject Re: help need example code of solrj to get schema of a given core
Date Tue, 31 May 2016 10:22:01 GMT
Querying the schema can be done with the Schema API (, which is
fully supported by SolrJ:

Liu, Ming (Ming) <> schrieb am Di., 31. Mai 2016 09:41:

> Hello,
> I am very new to Solr, I want to write a simple Java program to get a
> core's schema information. Like how many field and details of each field. I
> spent a few time searching on internet, but cannot get much information
> about this. The solrj wiki seems not updated for long time. I am using Solr
> 5.5.0
> Hope there are some example code, or please give me some advices, or
> simple hint like which java class I can take a look at.
> Thanks in advance!
> Ming

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message