AnalyzerGuru.java revision 58
58N/A * See LICENSE.txt included in this distribution for the specific
58N/A * file and include the License file at LICENSE.txt.
234N/A * ident "@(#)AnalyzerGuru.java 1.3 06/02/22 SMI"
1195N/Apublic class AnalyzerGuru {
1185N/A a = FileAnalyzer.class;
1185N/A doc.add(new org.apache.lucene.document.Field("u", Util.uid(path, date), false, true, false));
1185N/A doc.add(new org.apache.lucene.document.Field("fullpath", f.getAbsolutePath(), true, true, true));
993N/A } catch (IOException e) {
1016N/A return getContentType(a);
1463N/A return getContentType(a);
1463N/A return contentType;
1463N/A throws IOException {
1461N/A e.printStackTrace();
1185N/A //System.err.println(path.substring(dotpos+1).toUpperCase() + " = " + analyzer.getSimpleName());
1461N/A throws IOException {
1461N/A e.printStackTrace();
773N/A org.apache.lucene.document.Field field = (org.apache.lucene.document.Field) fields.nextElement();
1436N/A System.out.println("\nFIELD = " + field.name() + " TOKEN STREAM = "+ ts.getClass().getName());
773N/A e.printStackTrace();