Searched defs:doc (Results 1 - 16 of 16) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/analysis/archive/
H A DTarAnalyzer.java50 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
65 doc.add(new TextField("full", new IteratorReader(names)));
H A DZipAnalyzer.java50 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
65 doc.add(new TextField("full", new IteratorReader(names)));
H A DBZip2Analyzer.java60 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 DGZIPAnalyzer.java66 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 DJarAnalyzer.java51 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 DJavaClassAnalyzer.java87 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 DELFAnalyzer.java77 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 DTroffAnalyzer.java55 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 DXMLAnalyzer.java56 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
57 doc.add(new TextField("full", getReader(src.getStream())));
H A DAbstractSourceCodeAnalyzer.java68 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
69 super.analyze(doc, src, xrefOut);
H A DPlainAnalyzer.java76 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 DUuencodeAnalyzer.java54 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 DTextAnalyzerTest.java125 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DFileAnalyzer.java173 * @param doc the Lucene document
178 public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOException { argument
H A DAnalyzerGuru.java315 * @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 DIndexDatabase.java620 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...]

Completed in 59 milliseconds