NIHVIVO-2003 Removed commented-out code
This commit is contained in:
parent
06454ae9cb
commit
cedbc8ff05
1 changed files with 0 additions and 7 deletions
|
@ -129,13 +129,6 @@ public class AutocompleteController extends FreemarkerHttpServlet{
|
||||||
try{
|
try{
|
||||||
Document doc = searcherForRequest.doc(topDocs.scoreDocs[i].doc);
|
Document doc = searcherForRequest.doc(topDocs.scoreDocs[i].doc);
|
||||||
String uri = doc.get(VitroLuceneTermNames.URI);
|
String uri = doc.get(VitroLuceneTermNames.URI);
|
||||||
// IndividualDao iDao = vreq.getWebappDaoFactory().getIndividualDao();
|
|
||||||
// Individual ind = iDao.getIndividualByURI(uri);
|
|
||||||
// if (ind != null) {
|
|
||||||
// String name = ind.getName();
|
|
||||||
// SearchResult result = new SearchResult(name, uri);
|
|
||||||
// results.add(result);
|
|
||||||
// }
|
|
||||||
String name = doc.get(VitroLuceneTermNames.NAMERAW);
|
String name = doc.get(VitroLuceneTermNames.NAMERAW);
|
||||||
SearchResult result = new SearchResult(name, uri);
|
SearchResult result = new SearchResult(name, uri);
|
||||||
results.add(result);
|
results.add(result);
|
||||||
|
|
Loading…
Add table
Reference in a new issue