keyword search minor typo fix

This commit is contained in:
adam-m 2012-02-21 12:14:35 -05:00
parent 6b89d8b476
commit d8e94926d8
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class KeywordSearchFilterNode extends FilterNode {
String getSnippet() {
final Content content = this.getOriginal().getLookup().lookup(Content.class);
final String snippet = LuceneQuery.getSnippet(solrQuery, content.getId());
final String snippet = LuceneQuery.querySnippet(solrQuery, content.getId());
return snippet;
}

View File

@ -492,19 +492,19 @@ public final class KeywordSearchIngestService implements IngestServiceFsContent
if (attr != null) {
detailsSb.append("Regular expression: ");
detailsSb.append(attr.getValueString());
detailsSb.append("<br />>");
detailsSb.append("<br />");
}
}
//file
detailsSb.append("File: ");
detailsSb.append(hitFile.getParentPath()).append(File.separator).append(hitFile.getName());
detailsSb.append("<br />>");
detailsSb.append("<br />");
//preview
attr = res.getAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_KEYWORD_PREVIEW.getTypeID());
if (attr != null) {
detailsSb.append("Preview: ");
detailsSb.append(attr.getValueString());
detailsSb.append("<br />>");
detailsSb.append("<br />");
}
detailsSb.append("</html>");