Skip to content

Commit

Permalink
Query DSL: Span Term Query wrongly parses when boost is provided, cau…
Browse files Browse the repository at this point in the history
…sing using it in span or to fail, closes elastic#1032.
  • Loading branch information
kimchy committed Jun 15, 2011
1 parent 220a714 commit b79d5be
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -80,6 +80,7 @@ public class SpanTermQueryParser extends AbstractIndexComponent implements XCont
}
}
}
parser.nextToken();
} else {
value = parser.text();
// move to the next token
Expand Down

0 comments on commit b79d5be

Please sign in to comment.