mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
Minor cleanup, update javadoc
This commit is contained in:
parent
96838e4915
commit
54302c124d
@ -109,6 +109,7 @@ class Ingester {
|
||||
*
|
||||
* @param ContentStream to ingest
|
||||
* @param fields content specific fields
|
||||
* @param sourceContent fsContent from which the cs content stream originated from
|
||||
* @throws IngesterException if there was an error processing a specific
|
||||
* content, but the Solr server is probably fine.
|
||||
*/
|
||||
|
@ -291,9 +291,7 @@ class Server {
|
||||
throw new NoOpenCoreException();
|
||||
}
|
||||
|
||||
SolrQuery q = new SolrQuery("*:*");
|
||||
q.setRows(0);
|
||||
return (int) query(q).getResults().getNumFound();
|
||||
return currentCore.queryNumIndexedFiles();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -336,8 +334,7 @@ class Server {
|
||||
if (currentCore == null) {
|
||||
throw new NoOpenCoreException();
|
||||
}
|
||||
QueryResponse qres = currentCore.query(sq);
|
||||
return qres.getTermsResponse();
|
||||
return currentCore.queryTerms(sq);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user