From java-user-return-63979-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Mon Aug 27 16:33:17 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B5013180674 for ; Mon, 27 Aug 2018 16:33:16 +0200 (CEST) Received: (qmail 3077 invoked by uid 500); 27 Aug 2018 14:33:15 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 3055 invoked by uid 99); 27 Aug 2018 14:33:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2018 14:33:14 +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 5F3A5180166 for ; Mon, 27 Aug 2018 14:33:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.889 X-Spam-Level: * X-Spam-Status: No, score=1.889 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_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); domainkeys=pass (768-bit key) header.from=alex.stark@zoho.com header.d=zoho.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ds-oCLoXOMku for ; Mon, 27 Aug 2018 14:33:13 +0000 (UTC) Received: from sender-pp-092.zoho.com (sender-pp-092.zoho.com [135.84.80.237]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E86D25F1BD for ; Mon, 27 Aug 2018 14:33:12 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1535380390; cv=none; d=zoho.com; s=zohoarc; b=JQjJqlnKSimzzEl47QWdhdJdmST+kv1z4a/4FrAhYmv3+oV/9FMTkosY2yLHNl2B8g3Rw3p80+foAWzR2iYzT3xSUbW+KVqhOY56aI+bG7xVbnQRtxfPu8pzRVBG58UkSFWXlLzqxN/SzN8SyZ5uq/re06u1TOUZe6JAxD7pHJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1535380390; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:Reply-To:References:Subject:To:ARC-Authentication-Results; bh=9dsRcgB9ACTjY0trjLJj5qCD/KHL/crYoet+kGyPfw0=; b=K0LHbhoNF24KW5hcvBwhWwoRvflqAG1F8Xty+SZhQioC/98ZxBqpnKoJaiLs0ZiWZ1olQn1RxUVj+qCDsfCT+qxqYX9ZQgQ7C2yfe72Yx1fntcEQcS58nEXqTJH/RHQEfBiJP7RWz7w9zoc7N0S6oBsP9rUGMgNaQ2rq8cy7LRI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=alex.stark@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:reply-to:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=uo+Sn1flgOSixUOtgqbDoSQCa2V0+zMIVlomQ8awzRshxwrgiH5MlA58AdZjgELxKnakufCcVAu2 tD16pdaJSqXqElDiCV6OVEuMZmNIl2Cephc2SLeQwpg+WQqsXFgj Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1535380389194284.1476581052476; Mon, 27 Aug 2018 07:33:09 -0700 (PDT) Received: from [222.71.140.207] by mail.zoho.com with HTTP;Mon, 27 Aug 2018 07:33:09 -0700 (PDT) Date: Mon, 27 Aug 2018 22:33:09 +0800 From: alex stark Reply-To: alex.stark@zoho.com To: "java-user" Cc: Message-Id: <1657bcd7d46.12b743ff428155.1163239101510164719@zoho.com> In-Reply-To: <986b2d96-8026-6fef-aaae-68888b2a2b5d@oracle.com> References: <1657bb7aaa8.fb487dd629313.6793258293979444293@zoho.com> <1657bbcdd67.f40d61d829431.3335503997584150777@zoho.com> <986b2d96-8026-6fef-aaae-68888b2a2b5d@oracle.com> Subject: Re: Any way to improve document fetching performance? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78942_1225111583.1535380389191" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail ------=_Part_78942_1225111583.1535380389191 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In same machine, no net latency.=C2=A0 When I reduce to 500 limit, it takes= 20ms, which is also slower than I expected. btw, indexing is stopped. ----= On Mon, 27 Aug 2018 22:17:41 +0800=C2=A0 wrote ---= - yes, it should be less than a ms actually for those type of files. index = and search on the same machine? no net latency in between? Best On 8/27/18 = 10:14 AM, alex stark wrote: > quite small, just serveral simple short text = store fields. The total index size is around 1 GB (2m doc). ---- On Mon, 27= Aug 2018 22:12:07 +0800 wrote ---- Alex,- how big= are those docs? Best regards On 8/27/18 10:09 AM, alex stark wrote: > Hell= o experts, I am wondering is there any way to improve document fetching per= formance, it appears to me that visiting from store field is quite slow. I = simply tested to use indexsearch.doc() to get 2000 document which takes 50m= s. Is there any idea to improve that? -------------------------------------= -------------------------------- To unsubscribe, e-mail: java-user-unsubscr= ibe@lucene.apache.org For additional commands, e-mail: java-user-help@lucen= e.apache.org --------------------------------------------------------------= ------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For= additional commands, e-mail: java-user-help@lucene.apache.org ------=_Part_78942_1225111583.1535380389191--