float boost = 1.0f;
List<String> fields = null;
String likeText = null;
float minSimilarity = 0.5f;
int prefixLength = 0;
<BUG>boolean ignoreTF = false;
XContentParser.Token token;</BUG>
String currentFieldName = null;
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
if (token == XContentParser.Token.FIELD_NAME) {

float boost = 1.0f;
List<String> fields = null;
String likeText = null;
float minSimilarity = 0.5f;
int prefixLength = 0;
boolean ignoreTF = false;
Analyzer analyzer = null;
XContentParser.Token token;
String currentFieldName = null;
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
if (token == XContentParser.Token.FIELD_NAME) {
