lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Sorst <georg.so...@gmail.com>
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 (
https://cwiki.apache.org/confluence/display/solr/Schema+API), which is
fully supported by SolrJ:
http://lucene.apache.org/solr/6_0_0/solr-solrj/org/apache/solr/client/solrj/request/schema/package-summary.html
.

Liu, Ming (Ming) <ming.liu@esgyn.cn> 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
>

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