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 676657381 for ; Sun, 4 Sep 2011 07:52:01 +0000 (UTC) Received: (qmail 79529 invoked by uid 500); 4 Sep 2011 07:51:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 79183 invoked by uid 500); 4 Sep 2011 07:51:41 -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 79175 invoked by uid 99); 4 Sep 2011 07:51:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 07:51:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Barnea@3i-mind.com designates 85.119.5.53 as permitted sender) Received: from [85.119.5.53] (HELO mx1.hostinternational.net) (85.119.5.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 07:51:27 +0000 X-IronPort-AV: E=Sophos;i="4.68,327,1312149600"; d="scan'208,217";a="3466822" Received: from unknown (HELO GVSMSHC01.sms1.local) ([10.7.12.170]) by mx1.hostinternational.net with ESMTP/TLS/AES128-SHA; 04 Sep 2011 09:51:07 +0200 Received: from Pickup by GVSMSHC01.sms1.local with Microsoft SMTP Server id 8.2.255.0; Sun, 4 Sep 2011 07:51:07 +0000 Received: from GZSMSCCR01.sms1.local ([fe80::704b:5b0e:2ae:e513]) by GVSMSHC01.sms1.local ([::1]) with mapi; Sun, 4 Sep 2011 00:51:02 -0700 From: Lior Barnea To: "java-user@lucene.apache.org" Date: Sun, 4 Sep 2011 00:51:02 -0700 Subject: Custom tokens creation in Lucene/Solr Thread-Topic: Custom tokens creation in Lucene/Solr Thread-Index: Acxq1Fjmc/lOEmraTQOx7rQLvliXkw== Message-ID: <8784AFB3E5688C4C9B2BFB450D2CB02820B497C083@GZSMSCCR01.sms1.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_8784AFB3E5688C4C9B2BFB450D2CB02820B497C083GZSMSCCR01sms_" MIME-Version: 1.0 X-ExPropertySet: c50d55f10e1e738e2309669ee14c01c3e683f6c738e7330e5416251f143b69d58326b446ed64a333 X-Virus-Checked: Checked by ClamAV on apache.org --_000_8784AFB3E5688C4C9B2BFB450D2CB02820B497C083GZSMSCCR01sms_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I want to add user created tokens to a text field at index time, I want to = pass some metadata to a custom filter I wrote that adds tokens to the token= stream. I tried to add the metadata to the text and strip it with a custom tokenize= r but I didn't find a good way to pass it to my filter (which has to run la= st, cause I don't want and other filters working on my custom tokens). (Working with Lucene 3.0.3 / Solr 3.3.0) Any ideas ? Best regards, Lior Barnea, 3i-MIND. --_000_8784AFB3E5688C4C9B2BFB450D2CB02820B497C083GZSMSCCR01sms_--