Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4E38DFFE for ; Mon, 18 Feb 2013 14:13:24 +0000 (UTC) Received: (qmail 26711 invoked by uid 500); 18 Feb 2013 14:13:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 26562 invoked by uid 500); 18 Feb 2013 14:13:22 -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 26543 invoked by uid 99); 18 Feb 2013 14:13:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 14:13:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of youngestachiever@gmail.com designates 209.85.217.169 as permitted sender) Received: from [209.85.217.169] (HELO mail-lb0-f169.google.com) (209.85.217.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 14:13:14 +0000 Received: by mail-lb0-f169.google.com with SMTP id m4so4321205lbo.0 for ; Mon, 18 Feb 2013 06:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=ijaXVoycdmWiQz1/E3zj2xpx4+PvLv9Y39hcEPnXrvA=; b=zPcnEm+Q4b/ZB0TKO9B3E/gtZNGNpzSuslPisQiG7ftNLP/9abF2WxKl5jA9OQegZ4 eGNBxU3GsehOyhhc7dDpbB0N+wMENGBI/DUf5hoy7h5ILLaz6fGBXGFhXiAsIoCkeYL5 3F3t/QTmG8oAQ9mTRGdTtNNJVC7T8SvL1CAQ/uBp80+6wuHYrUOFcjqXv0vK6VU8BjQE fSzqo5h7bt9k1fbjRNI5wAnntyU5x4c3bj9HAdhOodpE9m9hEFnsDhKsGRig1NUAMbqN e+eqca8FtAUToq748SCPquRCMPsxiwtw/kkTO2FBPRck/KQTKYP7yWi2hQovIbektsxE wXtA== MIME-Version: 1.0 X-Received: by 10.152.132.170 with SMTP id ov10mr10701807lab.21.1361196773296; Mon, 18 Feb 2013 06:12:53 -0800 (PST) Received: by 10.114.15.73 with HTTP; Mon, 18 Feb 2013 06:12:53 -0800 (PST) Date: Mon, 18 Feb 2013 19:42:53 +0530 Message-ID: Subject: Grouping and tokens From: Ramprakash Ramamoorthy To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=f46d04308562244b2504d6005228 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04308562244b2504d6005228 Content-Type: text/plain; charset=ISO-8859-1 Hello all, From the grouping javadoc, I read that fields that are supposed to be grouped should not be tokenized. I have an use case where the user has the freedom to group by any field during search time. Now that only tokenized fields are eligible for grouping, this is creating an issue with my search. Say for instance the book "*Fifty shades of grey*" when tokenized and searched for "*shades*" turns up in the result. However this is not the case when I have it as a non-tokenized field (using StandardAnalyzer-Version4.1). How do I go about this? Is indexing a tokenized and non-tokenized version of the same field the only go? I am afraid its way too costly! Thanks in advance for your valuable inputs. -- With Thanks and Regards, Ramprakash Ramamoorthy, India, +91 9626975420 --f46d04308562244b2504d6005228--