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 6C268200CE6 for ; Fri, 15 Sep 2017 15:33:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6AA791609D1; Fri, 15 Sep 2017 13:33:19 +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 A50AE1609CF for ; Fri, 15 Sep 2017 15:33:18 +0200 (CEST) Received: (qmail 9358 invoked by uid 500); 15 Sep 2017 13:33:16 -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 Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 23530 invoked by uid 99); 15 Sep 2017 11:15:46 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.486 X-Spam-Level: *** X-Spam-Status: No, score=3.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Date: Fri, 15 Sep 2017 04:15:45 -0700 (MST) From: vobium To: solr-user@lucene.apache.org Message-ID: <1505474145341-0.post@n3.nabble.com> Subject: solr Facet.contains MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 15 Sep 2017 13:33:19 -0000 Hello, I want to limit my facet data by using substring (only that contain specified substring). My solr version is 4.8.0 e.g if doc with such type of string (field with such type of data is multivalued and splited with "~") India/maha/mumbai~India/gujarat/badoda India/goa/xyz India/raj/jaypur India/maha/kolhapur India/maha/mumbai India/maha/nashik Expected facet Data that contain maha as substring o/p India/maha/mumbai (2) India/maha/kolhapur(1) India/maha/nashik(1) I tried it by using facet.contains but it is not working so plz give solution for this issue -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html