lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: Grouping and tokens
Date Mon, 18 Feb 2013 16:17:11 GMT
Please clarify exactly what you want to group by - give a specific example 
that makes it clear what terms should affect grouping and which shouldn't.

-- Jack Krupansky

-----Original Message----- 
From: Ramprakash Ramamoorthy
Sent: Monday, February 18, 2013 6:12 AM
Subject: Grouping and tokens

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,
+91 9626975420 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message