Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 6088 invoked from network); 10 Jun 2002 11:16:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Jun 2002 11:16:13 -0000 Received: (qmail 5370 invoked by uid 97); 10 Jun 2002 11:16:10 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 5348 invoked by uid 97); 10 Jun 2002 11:16:09 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 5321 invoked by uid 98); 10 Jun 2002 11:16:09 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <000b01c2106f$ba5322a0$2564a8c0@jade> From: "Harpreet S Walia" To: "Lucene Users List" Subject: Problem in unicode field value retrival Date: Mon, 10 Jun 2002 16:42:31 +0530 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MIMETrack: Itemize by SMTP Server on SansuiLAN1/sspl(Release 5.0.8 |June 18, 2001) at 06/10/2002 04:44:40 PM, Serialize by Router on SansuiLAN1/sspl(Release 5.0.8 |June 18, 2001) at 06/10/2002 04:44:41 PM, Serialize complete at 06/10/2002 04:44:41 PM Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C2109D.D0DCDB00" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0008_01C2109D.D0DCDB00 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi I am trying to index and search unicode (utf - 8) . the code i am using = to index the documents is as follows : /************************************************************************= **************************************************************/ IndexWriter iw =3D new = IndexWriter("d:\\jakarta-tomcat3.2.3\\webapps\\lucene\\index", new = SimpleAnalyzer(), true);=20 String dirBase =3D "d:\\jakarta-tomcat3.2.3\\webapps\\lucene\\docs"; File docDir =3D new File(dirBase); String[] docFiles =3D docDir.list(); InputStreamReader isr; InputStream is; Document doc; for(int i=3D0;i