mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
update comment
This commit is contained in:
parent
0f484c3d77
commit
46b48ac121
@ -196,6 +196,7 @@ public class LuceneQuery implements KeywordSearchQuery {
|
|||||||
sb.append(field).append(":").append(groupedQuery);
|
sb.append(field).append(":").append(groupedQuery);
|
||||||
theQueryStr = sb.toString();
|
theQueryStr = sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
q.setQuery(theQueryStr);
|
q.setQuery(theQueryStr);
|
||||||
q.setRows(ROWS_PER_FETCH);
|
q.setRows(ROWS_PER_FETCH);
|
||||||
q.setFields(Server.Schema.ID.toString());
|
q.setFields(Server.Schema.ID.toString());
|
||||||
@ -335,7 +336,7 @@ public class LuceneQuery implements KeywordSearchQuery {
|
|||||||
q.setHighlightSimplePost("»");
|
q.setHighlightSimplePost("»");
|
||||||
q.setHighlightSnippets(1);
|
q.setHighlightSnippets(1);
|
||||||
q.setHighlightFragsize(SNIPPET_LENGTH);
|
q.setHighlightFragsize(SNIPPET_LENGTH);
|
||||||
q.setParam("hl.maxAnalyzedChars", Server.HL_ANALYZE_CHARS_UNLIMITED); //analyze all content
|
q.setParam("hl.maxAnalyzedChars", Server.HL_ANALYZE_CHARS_UNLIMITED); //analyze all content SLOW! consider lowering
|
||||||
|
|
||||||
try {
|
try {
|
||||||
QueryResponse response = solrServer.query(q);
|
QueryResponse response = solrServer.query(q);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user