mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
Changed lucene snippet query to use POST to avoid error 413
This commit is contained in:
parent
ea4e30e2ee
commit
24dc05b4b2
@ -372,7 +372,7 @@ public class LuceneQuery implements KeywordSearchQuery {
|
||||
q.setParam("hl.maxAnalyzedChars", Server.HL_ANALYZE_CHARS_UNLIMITED);
|
||||
|
||||
try {
|
||||
QueryResponse response = solrServer.query(q);
|
||||
QueryResponse response = solrServer.query(q, METHOD.POST);
|
||||
Map<String, Map<String, List<String>>> responseHighlight = response.getHighlighting();
|
||||
Map<String, List<String>> responseHighlightID = responseHighlight.get(contentIDStr);
|
||||
if (responseHighlightID == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user