Highlighting: make HighlightQuery class public

This commit is contained in:
Israel Tsadok 2014-06-10 11:44:51 +03:00 committed by Luca Cavanna
parent 04dacaaf27
commit 32f87f8617
1 changed files with 2 additions and 2 deletions

View File

@ -47,12 +47,12 @@ public class HighlighterContext {
this.query = query;
}
static class HighlightQuery {
public static class HighlightQuery {
private final Query originalQuery;
private final Query query;
private final boolean queryRewritten;
HighlightQuery(Query originalQuery, Query query, boolean queryRewritten) {
protected HighlightQuery(Query originalQuery, Query query, boolean queryRewritten) {
this.originalQuery = originalQuery;
this.query = query;
this.queryRewritten = queryRewritten;