Minor cleanup, update javadoc

This commit is contained in:
adam-m 2012-04-30 14:40:23 -04:00
parent 96838e4915
commit 54302c124d
2 changed files with 3 additions and 5 deletions

View File

@ -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.
*/

View File

@ -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);
}
/**