/opengrok/src/org/opensolaris/opengrok/analysis/archive/ |
H A D | TarAnalyzer.java | 50 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 65 doc.add(new TextField("full", new IteratorReader(names)));
|
H A D | ZipAnalyzer.java | 50 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 65 doc.add(new TextField("full", new IteratorReader(names)));
|
H A D | BZip2Analyzer.java | 60 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 62 String path = doc.get("path"); 78 fa.analyze(doc, bzSrc, xrefOut); 79 if (doc.get("t") != null) { 80 doc.removeField("t"); 82 doc.add(new Field("t", g.typeName(), AnalyzerGuru.string_ft_stored_nanalyzed_norms));
|
H A D | GZIPAnalyzer.java | 66 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 68 String path = doc.get("path"); 87 fa.analyze(doc, gzSrc, xrefOut); 88 if (doc.get("t") != null) { 89 doc.removeField("t"); 91 doc.add(new Field("t", g.typeName(), AnalyzerGuru.string_ft_stored_nanalyzed_norms));
|
/opengrok/src/org/opensolaris/opengrok/analysis/executables/ |
H A D | JarAnalyzer.java | 51 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 63 doc.add(new TextField("full", ename, Store.NO)); 71 jca.analyze(doc, new BufferedInputStream(zis), xrefOut);
|
H A D | JavaClassAnalyzer.java | 87 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 89 analyze(doc, in, xrefOut); 93 void analyze(Document doc, InputStream in, Writer xrefOut) throws IOException { argument 98 ClassParser classparser = new ClassParser(in, doc.get("path")); 110 LOGGER.log(Level.WARNING, "Couldn't flush xref, will retry once added to doc", ex); 124 doc.add(new TextField("defs", new IteratorReader(defs))); 125 doc.add(new TextField("refs", new IteratorReader(refs))); 126 doc.add(new TextField("full", fullout)); 127 doc.add(new TextField("full", constants, Store.NO));
|
H A D | ELFAnalyzer.java | 77 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 78 String fullpath = doc.get("fullpath"); 85 doc.add(new TextField("full", content, Store.NO));
|
/opengrok/src/org/opensolaris/opengrok/analysis/document/ |
H A D | TroffAnalyzer.java | 55 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 56 doc.add(new TextField("full", getReader(src.getStream())));
|
/opengrok/src/org/opensolaris/opengrok/analysis/plain/ |
H A D | XMLAnalyzer.java | 56 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 57 doc.add(new TextField("full", getReader(src.getStream())));
|
H A D | AbstractSourceCodeAnalyzer.java | 68 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 69 super.analyze(doc, src, xrefOut);
|
H A D | PlainAnalyzer.java | 76 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 77 doc.add(new TextField(QueryBuilder.FULL, getReader(src.getStream()))); 78 String fullpath = doc.get(QueryBuilder.FULLPATH); 82 doc.add(new TextField(QueryBuilder.DEFS, new IteratorReader(defs.getSymbols()))); 83 doc.add(new TextField(QueryBuilder.REFS, getReader(src.getStream()))); 85 doc.add(new StoredField(QueryBuilder.TAGS, tags)); 97 doc.add(new StoredField(QueryBuilder.SCOPES, scopesSerialized));
|
/opengrok/src/org/opensolaris/opengrok/analysis/uue/ |
H A D | UuencodeAnalyzer.java | 54 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument 55 doc.add(new TextField("full", getReader(src.getStream())));
|
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | TextAnalyzerTest.java | 125 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | FileAnalyzer.java | 173 * @param doc the Lucene document 178 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
|
H A D | AnalyzerGuru.java | 315 * @param doc The document to populate 322 public void populateDocument(Document doc, File file, String path, argument 327 doc.add(new Field(QueryBuilder.U, Util.path2uid(path, date), 329 doc.add(new Field(QueryBuilder.FULLPATH, file.getAbsolutePath(), 331 doc.add(new SortedDocValuesField(QueryBuilder.FULLPATH, new BytesRef(file.getAbsolutePath()))); 336 doc.add(new TextField(QueryBuilder.HIST, hr)); 342 doc.add(new Field(QueryBuilder.DATE, date, string_ft_stored_nanalyzed_norms)); 343 doc.add(new SortedDocValuesField(QueryBuilder.DATE, new BytesRef(date))); 345 doc.add(new TextField(QueryBuilder.PATH, path, Store.YES)); 348 doc [all...] |
/opengrok/src/org/opensolaris/opengrok/index/ |
H A D | IndexDatabase.java | 620 Document doc = new Document(); 622 analyzerGuru.populateDocument(doc, file, path, fa, xrefOut); 630 cleanupResources(doc); 635 writer.addDocument(doc); 637 cleanupResources(doc); 653 * @param doc the document whose resources to clean up 655 private void cleanupResources(Document doc) { argument 656 for (IndexableField f : doc) { 865 DateTools.Resolution.MILLISECOND)); // construct uid for doc 1141 Document doc [all...] |