Skip to content

Commit fe0f8cd

Browse files
committed
Query DSL: Span Term Query wrongly parses when boost is provided, causing using it in span or to fail, closes elastic#1032.
1 parent 290f87b commit fe0f8cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/elasticsearch/src/main/java/org/elasticsearch/index/query/xcontent/SpanTermQueryParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public class SpanTermQueryParser extends AbstractIndexComponent implements XCont
8080
}
8181
}
8282
}
83+
parser.nextToken();
8384
} else {
8485
value = parser.text();
8586
// move to the next token

0 commit comments

Comments
 (0)