Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 61656 invoked from network); 17 Aug 2009 11:28:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 11:28:33 -0000 Received: (qmail 21269 invoked by uid 500); 17 Aug 2009 11:28:39 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 21207 invoked by uid 500); 17 Aug 2009 11:28:38 -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 21199 invoked by uid 99); 17 Aug 2009 11:28:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 11:28:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 11:28:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7B34234C052 for ; Mon, 17 Aug 2009 04:28:14 -0700 (PDT) Message-ID: <1920166539.1250508494882.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 04:28:14 -0700 (PDT) From: "Robert Muir (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1813) Add option to ReverseStringFilter to mark reversed tokens In-Reply-To: <1936792015.1250353034849.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744023#action_12744023 ] Robert Muir commented on LUCENE-1813: ------------------------------------- Ted, with the current patch you can do this: new ReverseStringFilter('\u200E'), or new ReverseStringFilter('\u200F'), or new ReverseStringFilter('\u0001'), or whatever. Also, for anyone using this filter its my understanding that each term in lucene's term dictionary is a "delta" versus the previous term, so the character you choose should not affect its size? > Add option to ReverseStringFilter to mark reversed tokens > --------------------------------------------------------- > > Key: LUCENE-1813 > URL: https://issues.apache.org/jira/browse/LUCENE-1813 > Project: Lucene - Java > Issue Type: Improvement > Components: contrib/analyzers > Affects Versions: 2.9 > Reporter: Andrzej Bialecki > Assignee: Robert Muir > Fix For: 2.9 > > Attachments: LUCENE-1813.patch, reverseMark-2.patch, reverseMark.patch > > > This patch implements additional functionality in the filter to "mark" reversed tokens with a special marker character (Unicode 0001). This is useful when indexing both straight and reversed tokens (e.g. to implement efficient leading wildcards search). -- 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