Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC2F918E3E for ; Mon, 7 Mar 2016 09:49:26 +0000 (UTC) Received: (qmail 11833 invoked by uid 500); 7 Mar 2016 09:49:26 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 11753 invoked by uid 500); 7 Mar 2016 09:49:25 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 11735 invoked by uid 99); 7 Mar 2016 09:49:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 09:49:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 707AD1A0384 for ; Mon, 7 Mar 2016 09:49:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=snapdeal.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id POwOQABlFxsB for ; Mon, 7 Mar 2016 09:49:23 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 388E15FB5B for ; Mon, 7 Mar 2016 09:49:23 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id r187so75820859oih.3 for ; Mon, 07 Mar 2016 01:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snapdeal.com; s=google; h=mime-version:date:message-id:subject:from:to; bh=VamoT/zZszq3RUX0mPsmBKaXQS61VBUdLL6YdlNryeA=; b=JEGhSs2eEq1OOfIEnGDdyh7xQwC/UJtpVLfr7tp/jEgUYmj6Z46x1qAjVLGDwYq04U zE0t+Dn/wjgnMHxo/Ln2ppgh//yVXEc16OXDiGCXD3A/4BUzz+K0lpCXLu+9czt4q/JL vQonNLhuDKMOwABFd7sB56DnyFybcjaUuVto8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=VamoT/zZszq3RUX0mPsmBKaXQS61VBUdLL6YdlNryeA=; b=JkeRl8DrlFbN4Ru6jvQihh9TxWd4x6NDMbFG2igifXJDoVjP9b23Ydxx5IiNuGMHr0 6QmKb8l/ILbYkJ8OaaQLrc4ju7CW0NPuxtrlxf0owZm4s3rrDFb4F3PPI8UTbvl3IEtb XEMi8sFwm3Qgu0zRdl5EFFXOPX01IZgL5iGEURGvg5PKQrqdFm3jPDhdXh7L1KLc5Aj2 nKm2hOptHeQJ5/ICiDVPlcesEubJJJCScVpQuu2TgQKe4k4d8Exva3tXyu6eBZ4wXDwg 4XJlAeRZCRy0YK2zMCga241y4gUPh3zfCdMT7W/qLyZHxtWPBzifjsF6mP2YHMlTYLqY kenw== X-Gm-Message-State: AD7BkJJ+k6cgAULNsl/1mg7unrLYib5fXKwQzKU1JUI27nBue/shf9JcJ6FUS3+kqCD5Rn9CvwWLvFAeFTBia6Sb MIME-Version: 1.0 X-Received: by 10.202.196.149 with SMTP id u143mr12668607oif.10.1457344162591; Mon, 07 Mar 2016 01:49:22 -0800 (PST) Received: by 10.202.204.213 with HTTP; Mon, 7 Mar 2016 01:49:22 -0800 (PST) Date: Mon, 7 Mar 2016 15:19:22 +0530 Message-ID: Subject: solr 4.7 MultiFields and MultiDocValues slow From: Rahul Kumar To: general@lucene.apache.org Content-Type: multipart/alternative; boundary=001a1134f020208914052d726106 --001a1134f020208914052d726106 Content-Type: text/plain; charset=UTF-8 Hello everyone, I am using solr 4.7.2 . I am somewhat new to solr and want to dump solr indexes to json format. To check for deleted docs I have used *Bits liveDocs = MultiFields.getLiveDocs(reader);* I also want to get field Boosts for all documents and for that I have used *NumericDocValues ndv = MultiDocValues.getNormValues(reader, field.name ());* *The documentation of these methods states that they are both quite expensive and slow *as they merge individual sub-segment readers. The doc recommends to write these implementations yourself. Can someone please explain why will my implementation be fast as I will also have to merge the segment readers as I want to have the info for all documents. Or Can anyone suggest an optimal way to implement these methods. Any help is highly appreciated. -- Thanks and Regards Rahul Jha --001a1134f020208914052d726106--