Search google for converting mysql BLOBs to text. Or look at the ResultSet stream methods in conjunction with the Field constructors that take Readers.
Maybe something like new Field(txt, new InputStreamReader(rs.getBinaryStream(txt)) -- Ian. On Fri, Jan 29, 2010 at 6:10 PM, luciusvorenus <lucius.vore...@hotmail.de> wrote: > > helo > > One more question to blob : > > ""d.add(new Field("txt", rs.getString("subject"), Field.Store.NO, > Field.Index.ANALYZED));""" > > but how can i index a blob? > > the field txt is a blob ... with rs.geBlob(txt) ? > > thank u > > thank --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org