From solr-user-return-139115-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Wed Feb 14 20:51:42 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 638AD180621 for ; Wed, 14 Feb 2018 20:51:42 +0100 (CET) Received: (qmail 94499 invoked by uid 500); 14 Feb 2018 19:51:40 -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 94287 invoked by uid 99); 14 Feb 2018 19:51:39 -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; Wed, 14 Feb 2018 19:51:39 +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 3A966C2466 for ; Wed, 14 Feb 2018 19:51:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.192 X-Spam-Level: * X-Spam-Status: No, score=1.192 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WJ7izOjJq8TQ for ; Wed, 14 Feb 2018 19:51:38 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8D4975F187 for ; Wed, 14 Feb 2018 19:51:37 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id i15so14432752uak.3 for ; Wed, 14 Feb 2018 11:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=BebhoetWXvS/yt5cjL+e3rr0bCbdYUkmn3bZXIQ1DW8=; b=sdySZJI6FhpxldFiUjDv1A4+7Kw/ejIBKLaFDc/tE2lONhfWg8gEaeKdkNvtQqFckR 3cpI5S/tH7SbDgqTS5wXoeP30sQPnXXrPhlWx+iuiTjOk0oIZKkyvlgRc4O7MDZYFo6b 4gy7QUIbARVZ8uYLWiDWYksS/I4nGg1UumG5NQpCZWUAnwczoWX4HYJ7N9b2A+EIS0g8 OxyCj9VNkCrdS61knD7obhII5Swgud7LxPdbKY3R1Senw5zdmUThjvxB+c3owHR27REk FUspVeh1y5ISq5+ROTSn8cQBbtSDBW6Dm0SjI3HzpVK+R1ji3rb2Cdhyc+zmgM8xMPQQ dMDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=BebhoetWXvS/yt5cjL+e3rr0bCbdYUkmn3bZXIQ1DW8=; b=LppuyUPWm4je54hUdVwkp5CCUpSDTY1EQFRXylkMjgwDnUplsxyamrRbb7v/ozvOCQ Ub5RDSQGWvcQn8Vzi7mqUwucQlFNVLFQMT0pHza6+topvT4cyVyCkDaP6Lsy9LHgZ80p VhFTgFhlhV/fWjgbPkdPopvScNpmfFiK/aR1S9/d9WpvxRZVim9HBhBhweaeMcU+YMzk Qv/y9vECuCj5n5x/Icct8ZDEhZ7BgnZoiPBQIVDp7KVdypPCCQRzHlfdeBpucmj1KLPj j2QTT4oPY7myXqLyI1/c4wLwQvGrRqBAgXpiExamwpS2z5rddZclyODdrcDJ4NKTAsUz DppA== X-Gm-Message-State: APf1xPDbshtfmZI+WZ6Nfp7uLfTvPIVsmoX+PALDNglzDTXiT1AXocK7 XbUzskLmE+gEOBWzXIbjYE3coXr1CCs9/og5uZzvxw== X-Google-Smtp-Source: AH8x227R/9CXi7UjX9MoOnH4rsFAcVP1R/k58my7EJWzu32mX/sCBc1qXXzuxz1NPV3tRSfTOt2MkwadFuqPMvpytFc= X-Received: by 10.159.61.88 with SMTP id m24mr339058uai.139.1518637889358; Wed, 14 Feb 2018 11:51:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.95.68 with HTTP; Wed, 14 Feb 2018 11:51:28 -0800 (PST) In-Reply-To: References: <1517394272500-0.post@n3.nabble.com> <1517479272768-0.post@n3.nabble.com> <1518081800.5259.45.camel@kb.dk> <1518516961102-0.post@n3.nabble.com> <1518520666986-0.post@n3.nabble.com> From: Yonik Seeley Date: Wed, 14 Feb 2018 14:51:28 -0500 Message-ID: Subject: Re: facet.method=uif not working in solr cloud? To: "solr-user@lucene.apache.org" Content-Type: text/plain; charset="UTF-8" On Wed, Feb 14, 2018 at 2:28 PM, Wei wrote: > Thanks all! It's really great learning. A bit off the topic, after I > enabled facet.method = uif in solr cloud, the faceting performance is > actually much worse than the original fc( ~1000 ms with uif vs ~200 ms > with fc). My cloud has 8 shards with 6 replicas in each shard. I do see > that fieldValueCache is getting utilized. Any reason uif could be so > slow? I haven't seen that before. Are you sure it's not the first time faceting on a field? uif has big upfront cost, but is usually faster once that cost has been paid. -Yonik > On Tue, Feb 13, 2018 at 7:41 AM, Yonik Seeley wrote: > >> Great, thanks for tracking that down! >> It's interesting that a mincount of 0 disables uif processing in the >> first place. IIRC, it's only the hash-based method (as opposed to >> array-based) that can't return zero counts. >> >> -Yonik >> >> >> On Tue, Feb 13, 2018 at 6:17 AM, Alessandro Benedetti >> wrote: >> > *Update* : This has been actually already solved by Hoss. >> > >> > https://issues.apache.org/jira/browse/SOLR-11711 and this is the Pull >> > Request : https://github.com/apache/lucene-solr/pull/279/files >> > >> > This should go live with 7.3 >> > >> > Cheers >> > >> > >> > >> > ----- >> > --------------- >> > Alessandro Benedetti >> > Search Consultant, R&D Software Engineer, Director >> > Sease Ltd. - www.sease.io >> > -- >> > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >>