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 C1294200B8D for ; Fri, 23 Sep 2016 23:49:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BFC9D160AD6; Fri, 23 Sep 2016 21:49:44 +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 1070A160ACF for ; Fri, 23 Sep 2016 23:49:43 +0200 (CEST) Received: (qmail 29615 invoked by uid 500); 23 Sep 2016 21:49:37 -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 29591 invoked by uid 99); 23 Sep 2016 21:49:37 -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; Fri, 23 Sep 2016 21:49:37 +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 49695180517 for ; Fri, 23 Sep 2016 21:49:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled 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 zAroRfCnx_Nv for ; Fri, 23 Sep 2016 21:49:35 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 65C365F47C for ; Fri, 23 Sep 2016 21:49:35 +0000 (UTC) Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id D78C45131CF5B for ; Fri, 23 Sep 2016 14:49:33 -0700 (MST) Date: Fri, 23 Sep 2016 14:49:33 -0700 (MST) From: lukes To: java-user@lucene.apache.org Message-ID: <1474667373850-4297805.post@n3.nabble.com> Subject: Handling multiple locale MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 23 Sep 2016 21:49:44 -0000 Hi all, I am trying to handle multiple locale(for indexing and querying). Below is the problem i am trying to solve. I am indexing list of documents in lucene with naming conventions : (fieldName) + "_" + locale(language part only ex en, ar, ... ) and proving PerFieldAnalyzerWrapper to indexWriter config, so that proper analyzer can be chosen during indexing(so far so good). But now during the query, can i provide generic fieldName(something with regular expression, something like (fieldName) + "_" + [a-z]{2}) ? I tried, but couldn't find anything. Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/Handling-multiple-locale-tp4297805.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org