Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 232 invoked from network); 6 Mar 2007 13:13:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 13:13:51 -0000 Received: (qmail 85537 invoked by uid 500); 6 Mar 2007 13:13:57 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 85174 invoked by uid 500); 6 Mar 2007 13:13:55 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 84487 invoked by uid 99); 6 Mar 2007 13:13:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 05:13:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 05:13:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 594D671408E for ; Tue, 6 Mar 2007 05:13:24 -0800 (PST) Message-ID: <27288967.1173186804359.JavaMail.root@brutus> Date: Tue, 6 Mar 2007 05:13:24 -0800 (PST) From: "Enis Soztutar (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-252) [PATCH] Problem with Sort logic on tokenized fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated LUCENE-252: --------------------------------- Attachment: FieldCacheImpl_Tokenized_fields_lucene_2.2-dev.patch This version patches against the current trunk version 2.2-dev. Please see the above comments about the contents of the patch. > [PATCH] Problem with Sort logic on tokenized fields > --------------------------------------------------- > > Key: LUCENE-252 > URL: https://issues.apache.org/jira/browse/LUCENE-252 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 1.4 > Environment: Operating System: other > Platform: All > Reporter: Aviran Mordo > Assigned To: Lucene Developers > Attachments: dif.txt, FieldCacheImpl_Tokenized_fields_lucene_2.0.patch, FieldCacheImpl_Tokenized_fields_lucene_2.0_v1.1.patch, FieldCacheImpl_Tokenized_fields_lucene_2.2-dev.patch > > > When you set s SortField to a Text field which gets tokenized > FieldCacheImpl uses the term to do the sort, but then sorting is off > especially with more then one word in the field. I think it is much > more logical to sort by field's string value if the sort field is Tokenized and > stored. This way you'll get the CORRECT sort order -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org