mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
debugging highlighting solr query
This commit is contained in:
parent
0ebe0706d6
commit
f11573ba1d
@ -276,10 +276,11 @@ class KeywordSearchResultFactory extends ChildFactory<KeyValueQueryContent> {
|
|||||||
int curTerm = 0;
|
int curTerm = 0;
|
||||||
for (String term : hitTerms) {
|
for (String term : hitTerms) {
|
||||||
//escape subqueries, they shouldn't be escaped again later
|
//escape subqueries, they shouldn't be escaped again later
|
||||||
final String termS = KeywordSearchUtil.escapeLuceneQuery(term);
|
/*final String termS = KeywordSearchUtil.escapeLuceneQuery(term);
|
||||||
highlightQuery.append("\"");
|
highlightQuery.append("\"");
|
||||||
highlightQuery.append(termS);
|
highlightQuery.append(termS);
|
||||||
highlightQuery.append("\"");
|
highlightQuery.append("\"");*/
|
||||||
|
highlightQuery.append(term); // ELDEBUG
|
||||||
if (lastTerm != curTerm) {
|
if (lastTerm != curTerm) {
|
||||||
highlightQuery.append(" "); //acts as OR ||
|
highlightQuery.append(" "); //acts as OR ||
|
||||||
//force HIGHLIGHT_FIELD_REGEX index and stored content
|
//force HIGHLIGHT_FIELD_REGEX index and stored content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user