Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DAF882009C6 for ; Tue, 31 May 2016 09:41:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D94F5160A23; Tue, 31 May 2016 07:41:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C1EE160A09 for ; Tue, 31 May 2016 09:41:36 +0200 (CEST) Received: (qmail 73376 invoked by uid 500); 31 May 2016 07:41:34 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 73363 invoked by uid 99); 31 May 2016 07:41:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 07:41:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E39D7C2390 for ; Tue, 31 May 2016 07:41:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.998 X-Spam-Level: * X-Spam-Status: No, score=1.998 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 77ux_DNZ-aGV for ; Tue, 31 May 2016 07:41:31 +0000 (UTC) Received: from cn01-SHA-obe.outbound.protection.partner.outlook.cn (mail-shaop0214.outbound.protection.partner.outlook.cn [42.159.161.214]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 448055F560 for ; Tue, 31 May 2016 07:41:29 +0000 (UTC) Received: from BJXPR01MB214.CHNPR01.prod.partner.outlook.cn (10.41.52.140) by BJXPR01MB214.CHNPR01.prod.partner.outlook.cn (10.41.52.140) with Microsoft SMTP Server (TLS) id 15.1.492.11; Tue, 31 May 2016 07:41:15 +0000 Received: from BJXPR01MB214.CHNPR01.prod.partner.outlook.cn ([10.41.52.140]) by BJXPR01MB214.CHNPR01.prod.partner.outlook.cn ([10.41.52.140]) with mapi id 15.01.0492.020; Tue, 31 May 2016 07:41:15 +0000 From: "Liu, Ming (Ming)" To: "solr-user@lucene.apache.org" Subject: help need example code of solrj to get schema of a given core Thread-Topic: help need example code of solrj to get schema of a given core Thread-Index: AdG7D3rwrtbLFTiSRpGxG/GerPEzCw== Date: Tue, 31 May 2016 07:41:15 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ming.liu@esgyn.cn; x-originating-ip: [114.91.208.125] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BJXPR01MB214; x-exchange-antispam-report-cfa: BCL:0;PCL:0;RULEID:;SRVR:BJXPR01MB214;BCL:0;PCL:0;RULEID:;SRVR:BJXPR01MB214; x-forefront-prvs: 095972DF2F x-forefront-antispam-report: =?us-ascii?Q?SFV:NSPM;SFS:(10009020)(6009001)(328002)(329002)(51874003)(1?= =?us-ascii?Q?89002)(199002)(102836003)(5004730100002)(3660700001)(2351001?= =?us-ascii?Q?)(98676001)(68736007)(3280700002)(19580395003)(11100500001)(?= =?us-ascii?Q?94316002)(16236675004)(3846002)(790700001)(450100001)(538060?= =?us-ascii?Q?02)(74706001)(19300405004)(77096005)(56776002)(6116002)(8793?= =?us-ascii?Q?6001)(107886002)(51856002)(50986002)(92566002)(90146001)(692?= =?us-ascii?Q?26001)(5002640100001)(10400500002)(76786001)(2900100001)(816?= =?us-ascii?Q?86001)(586003)(97336001)(56816005)(95416001)(86362001)(96860?= =?us-ascii?Q?02)(97186001)(74366001)(94946001)(81612004)(106356001)(65816?= =?us-ascii?Q?002)(76796001)(76176001)(49866002)(74482002)(47736002)(50087?= =?us-ascii?Q?40100001)(19625215002)(93136001)(101416001)(93516002)(636960?= =?us-ascii?Q?04)(87266001)(66066001)(189998001)(81156014)(8676002)(159754?= =?us-ascii?Q?45007)(110136002)(81816001)(5003600100002)(97736004)(5431600?= =?us-ascii?Q?3)(74876001)(2501003)(8936002)(59766002)(47446003)(33656002)?= =?us-ascii?Q?(229853001)(54356002)(105586002)(47976003);DIR:OUT;SFP:1101;?= =?us-ascii?Q?SCL:1;SRVR:BJXPR01MB214;H:BJXPR01MB214.CHNPR01.prod.partner.?= =?us-ascii?Q?outlook.cn;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;LANG:en;?= received-spf: None (protection.outlook.com: esgyn.cn does not designate permitted sender hosts) Content-Type: multipart/alternative; boundary="_000_BJXPR01MB214E5ABB834644EDD857826EC460BJXPR01MB214CHNPR0_" MIME-Version: 1.0 X-OriginatorOrg: esgyn.cn X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2016 07:41:15.1710 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8bf80453-2b55-4b23-a365-dc866d5806aa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BJXPR01MB214 archived-at: Tue, 31 May 2016 07:41:37 -0000 --_000_BJXPR01MB214E5ABB834644EDD857826EC460BJXPR01MB214CHNPR0_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 spen= t a few time searching on internet, but cannot get much information about t= his. 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 --_000_BJXPR01MB214E5ABB834644EDD857826EC460BJXPR01MB214CHNPR0_--