mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
keyword search minor typo fix
This commit is contained in:
parent
6b89d8b476
commit
d8e94926d8
@ -50,7 +50,7 @@ class KeywordSearchFilterNode extends FilterNode {
|
|||||||
|
|
||||||
String getSnippet() {
|
String getSnippet() {
|
||||||
final Content content = this.getOriginal().getLookup().lookup(Content.class);
|
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;
|
return snippet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -492,19 +492,19 @@ public final class KeywordSearchIngestService implements IngestServiceFsContent
|
|||||||
if (attr != null) {
|
if (attr != null) {
|
||||||
detailsSb.append("Regular expression: ");
|
detailsSb.append("Regular expression: ");
|
||||||
detailsSb.append(attr.getValueString());
|
detailsSb.append(attr.getValueString());
|
||||||
detailsSb.append("<br />>");
|
detailsSb.append("<br />");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//file
|
//file
|
||||||
detailsSb.append("File: ");
|
detailsSb.append("File: ");
|
||||||
detailsSb.append(hitFile.getParentPath()).append(File.separator).append(hitFile.getName());
|
detailsSb.append(hitFile.getParentPath()).append(File.separator).append(hitFile.getName());
|
||||||
detailsSb.append("<br />>");
|
detailsSb.append("<br />");
|
||||||
//preview
|
//preview
|
||||||
attr = res.getAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_KEYWORD_PREVIEW.getTypeID());
|
attr = res.getAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_KEYWORD_PREVIEW.getTypeID());
|
||||||
if (attr != null) {
|
if (attr != null) {
|
||||||
detailsSb.append("Preview: ");
|
detailsSb.append("Preview: ");
|
||||||
detailsSb.append(attr.getValueString());
|
detailsSb.append(attr.getValueString());
|
||||||
detailsSb.append("<br />>");
|
detailsSb.append("<br />");
|
||||||
}
|
}
|
||||||
|
|
||||||
detailsSb.append("</html>");
|
detailsSb.append("</html>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user