public MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer, String fieldName) {this.likeText = Objects.requireNonNull(likeText);this.moreLikeFields = Objects.requireNonNull(moreLikeFields);this.analyzer = Objects.requireNonNull(analyzer);this.fieldName = Objects.requireNonNull(fieldName);}

public MoreLikeThisQuery ( String likeText , String [ ] moreLikeFields , Analyzer analyzer , String fieldName ) { this . likeText = Objects . requireNonNull ( likeText ) ; this . moreLikeFields = Objects . requireNonNull ( moreLikeFields ) ; this . analyzer = Objects . requireNonNull ( analyzer ) ; this . fieldName = Objects . requireNonNull ( fieldName ) ; }
public MoreLikeThisQuery(string likeText, string[] moreLikeFields, Analyzer analyzer, string fieldName){this.LikeText = likeText;this.MoreLikeFields = moreLikeFields;this.Analyzer = analyzer;this.fieldName = fieldName;}
