Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 758D5189C3 for ; Sat, 13 Jun 2015 01:37:06 +0000 (UTC) Received: (qmail 9833 invoked by uid 500); 13 Jun 2015 01:37:02 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 9763 invoked by uid 500); 13 Jun 2015 01:37:02 -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 9751 invoked by uid 99); 13 Jun 2015 01:37:02 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2015 01:37:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 02A0D182566 for ; Sat, 13 Jun 2015 01:37:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 48hOq2OILvAO for ; Sat, 13 Jun 2015 01:36:51 +0000 (UTC) Received: from mail-lb0-f196.google.com (mail-lb0-f196.google.com [209.85.217.196]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 7C27424CE8 for ; Sat, 13 Jun 2015 01:36:50 +0000 (UTC) Received: by lbdu14 with SMTP id u14so7911649lbd.2 for ; Fri, 12 Jun 2015 18:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IK8g3A433M8CkOd293ATFvCLv77/OsnvwPUTatvigFo=; b=vl11BuMUkTn3wrFa9THpJAUnRmqfITctWuUa1p6DETAjOUA91yL4a16YPqkFbnxS2j XdSWzlTv08Mze74UR19S6Mbb7Fjk/d2oPLw2lyJ+MZZvPGYhI0vgfpVrda8dSFNzJf0I YULGY0JaE2vtH6dqu4vNfnxlo3xEAp1sGSGFO89vJhGxb+ErtDq6N0EyRTNlGvVDUt3n mHunitzJNmn+ZcaB9SyuiotHfc8FG1FLncGY6Qt8Jw0KKvZK5pgLLjeROM+KzG4lqic8 s+/n6zdtTSJXDlGaFQc4LVTEmGIY2mnj2udJ8OZcLGfAFi3Gh4yCDQtbIXREp8Nxc7mH 0sLA== MIME-Version: 1.0 X-Received: by 10.112.72.164 with SMTP id e4mr17407384lbv.113.1434159404521; Fri, 12 Jun 2015 18:36:44 -0700 (PDT) Received: by 10.25.163.208 with HTTP; Fri, 12 Jun 2015 18:36:44 -0700 (PDT) Date: Sat, 13 Jun 2015 07:06:44 +0530 Message-ID: Subject: How to split using multiple parameters From: Sandeep Mellacheruvu To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a11c2b616db9e7305185c41a0 --001a11c2b616db9e7305185c41a0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I have a json document which has multiple json arrays and inner json objects. From the documentation it seems like there is only one split parameter. Following is the sample JSON that I have. Can anyone help me in splitting this json ? Also I do not need some of the fields like websites, so can I also ignore such fields altogether ? { "groups": [ { "name": "Airlines" }, { "name": "Industrial Design" }, {}, {} ], "family_name": "Volante", "locality": "Chile", "industry": "Civil Engineering", "num_connections": "500+", "websites": [ { "description": "Personal Website" } ], "summary": "Ingeniero Civil Industrial UC y Magister en Innovaci=C3=B3n= UAI. Mis =C3=A1reas de inter=C3=A9s son la Innovaci=C3=B3n Empresarial, las Tecn= olog=C3=ADas de Informaci=C3=B3n, la Gesti=C3=B3n de Operaciones y Log=C3=ADstica", "headline": "Value Senior Advisor en SAP", "given_name": "Martin", "full_name": "Martin Volante", "skills": [ "Business Intelligence", "Team Leadership", "Business Strategy", "Project Management", "Management", "Business Process", "Business Analysis", "Change Management", "SOA", "Strategic Planning", "Software Project...", "Oracle", "Pre-sales", "Solution Architecture", "Management Consulting", "Project Planning", "IT Strategy" ], "experience": [ { "end": "Present", "title": "Industry Value Engineering", "start": "September 2014", "location": "Santiago, Chile", "duration": "6 months", "organization": [ { "name": "SAP", "profile_url": "http://www.linkedin.com/company/1115" } ] } ], "education": [ { "start": "2010", "end": "2011", "name": "Universidad Adolfo Ib=C3=A1=C3=B1ez", "degrees": [ "Master en Innovaci=C3=B3n" ] } ] } Thanks, Sandeep --001a11c2b616db9e7305185c41a0--