Re: AW: index a database

2010-01-29 Thread luciusvorenus
One more question ""d.add(new Field("txt", rs.getString("subject"), Field.Store.NO, Field.Index.ANALYZED));""" the field txt is a blob ...how can i index a blob? with rs.geBlob(txt) ? thank luciusvorenus wrote: > > > "" > > Exception in thread "main" java.lang.NullPointerException >

Re: AW: index a database

2010-01-28 Thread luciusvorenus
yes many thanks .. But /.../my index folder is empty. Have I done something wrong in "private static void indexDocs"? It is not indexed Marc Schwarz wrote: > > StandardAnalyzer analyzer = new StandardAnalyzer(Version.LUCENE_CURRENT); > > any difference with that ? > > -Ursprün

Re: AW: index a database

2010-01-28 Thread luciusvorenus
"" Exception in thread "main" java.lang.NullPointerException at org.apache.lucene.analysis.StopFilter.getEnablePositionIncrementsVersionDefault(StopFilter.java:162) at org.apache.lucene.analysis.standard.StandardAnalyzer.(StandardAnalyzer.java:73) at org.apache.lucene.ana