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{
|
||||
Document doc = searcherForRequest.doc(topDocs.scoreDocs[i].doc);
|
||||
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);
|
||||
SearchResult result = new SearchResult(name, uri);
|
||||
results.add(result);
|
||||
|
|
Loading…
Add table
Reference in a new issue