Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 249A7200D42 for ; Fri, 17 Nov 2017 17:40:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23723160BFB; Fri, 17 Nov 2017 16:40:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69EB9160BE6 for ; Fri, 17 Nov 2017 17:40:25 +0100 (CET) Received: (qmail 88071 invoked by uid 500); 17 Nov 2017 16:40:23 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 88057 invoked by uid 99); 17 Nov 2017 16:40:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 16:40:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8C49C1A1401 for ; Fri, 17 Nov 2017 16:40:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.474 X-Spam-Level: *** X-Spam-Status: No, score=3.474 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_MUA_MOZILLA=1.596, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id s4Ymk2Icojk3 for ; Fri, 17 Nov 2017 16:40:21 +0000 (UTC) Received: from sonic303-21.consmr.mail.ne1.yahoo.com (sonic303-21.consmr.mail.ne1.yahoo.com [66.163.188.147]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ADF8E60EF1 for ; Fri, 17 Nov 2017 16:40:19 +0000 (UTC) X-YMail-OSG: jfRnkn0VM1nuRbeF.DPwrT35U9QeUBFS8zshj8C5.CoIO8H.eCd_0O2GpnntbHq 3LLmHjWq6nhDj9IvtumKX3kwWQZhDnhaoXhZNVuwm3LOgA3xVxVp0.A8rthD8d05fUcrdAJ_fMmK WejKHUWU0begifCDL1OKblykM2rq_ABgdiK5kNPelcnxmVz.5Mta7EzSX_OaBIn6ahGZP7ARlU7U xureH8Q13EIT0lTNUelH9ZKGfm9kejjDARTLk6xDMokFhLqowY60DYe_EBtLkvp4G9D1S.RXt17H OP6Mj4yRePIaIjw0nsYxuSKdLF4IKdF9FJNuzhxTDDIOC9ZysPvhrU5BjOivYIU9TyRiXwskIHmR NwrQFA7muqOGsdO1yNTnKEbGYVdOUTpof28e_eAFeWqD0vBtAwXc5d.rBXepZTuM.dyqJ5e6gd2f gziQ_ERXXRgbCLf9Vn7ungtZPndwPkV8iJ_vfPlTXyJB4hs2TLp.LGv1uV.dVQgEch9NwuPQAH.D pwkA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 17 Nov 2017 16:40:18 +0000 Date: Fri, 17 Nov 2017 16:40:15 +0000 (UTC) From: Ahmet Arslan To: solr-user@lucene.apache.org, kumar gaurav Message-ID: <454959977.280133.1510936815859@mail.yahoo.com> In-Reply-To: References: Subject: Re: get all tokens from TokenStream in my custom filter MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_280132_845302094.1510936815857" X-Mailer: WebService/1.1.10976 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5 archived-at: Fri, 17 Nov 2017 16:40:26 -0000 ------=_Part_280132_845302094.1510936815857 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Kumar, If I am not wrong, I think there is method named something like peek(2) or = advance(2).Some filters access tokens ahead and perform some logic. Ahmet On Wednesday, November 15, 2017, 10:50:55 PM GMT+3, kumar gaurav <= kg2989@gmail.com> wrote: =20 =20 Hi I need to get full field value from TokenStream in my custom filter class . I am using this stream.reset(); while (tStream.incrementToken()) { =C2=A0 =C2=A0 term +=3D " "+charTermAttr.toString(); } stream.end(); stream.close(); this is ending streaming . no token is producing if i am using this . I want to get full string without hampering token creation . Eric ! Are you there ? :)=C2=A0 Anyone Please help=C2=A0 ? =20 ------=_Part_280132_845302094.1510936815857--