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 9CEF0734F for ; Sun, 4 Sep 2011 07:51:06 +0000 (UTC) Received: (qmail 77441 invoked by uid 500); 4 Sep 2011 07:51:03 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 77185 invoked by uid 500); 4 Sep 2011 07:50:50 -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 77176 invoked by uid 99); 4 Sep 2011 07:50:46 -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:50:46 +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:50:38 +0000 X-IronPort-AV: E=Sophos;i="4.68,327,1312149600"; d="scan'208,217";a="3466812" Received: from unknown (HELO GVSMSHC02.sms1.local) ([10.7.12.180]) by mx1.hostinternational.net with ESMTP/TLS/AES128-SHA; 04 Sep 2011 09:50:17 +0200 Received: from Pickup by GVSMSHC02.sms1.local with Microsoft SMTP Server id 8.2.255.0; Sun, 4 Sep 2011 07:50:05 +0000 Received: from GZSMSCCR01.sms1.local ([fe80::704b:5b0e:2ae:e513]) by GVSMSHC02.sms1.local ([::1]) with mapi; Sun, 4 Sep 2011 00:50:00 -0700 From: Lior Barnea To: "java-user@lucene.apache.org" Date: Sun, 4 Sep 2011 00:45:53 -0700 Subject: Custom tokens creation in Lucene/Solr Thread-Topic: Custom tokens creation in Lucene/Solr Thread-Index: Acxq1Fjmc/lOEmraTQOx7rQLvliXkw== Message-ID: <8784AFB3E5688C4C9B2BFB450D2CB02820B497C080@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_8784AFB3E5688C4C9B2BFB450D2CB02820B497C080GZSMSCCR01sms_" MIME-Version: 1.0 X-ExPropertySet: c50d55f10e1e738e2309669ee14c01c3e683f6c74fbd68f3eb80e7e9ec2779f9ceb9217f9575dadc X-Virus-Checked: Checked by ClamAV on apache.org --_000_8784AFB3E5688C4C9B2BFB450D2CB02820B497C080GZSMSCCR01sms_ 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_8784AFB3E5688C4C9B2BFB450D2CB02820B497C080GZSMSCCR01sms_--