LikeThisQueryBuilder (Lucene 10.5.1 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.xml.builders, class: LikeThisQueryBuilder

Package org.apache.lucene.queryparser.xml.builders

# Class LikeThisQueryBuilder

java.lang.Object
org.apache.lucene.queryparser.xml.builders.LikeThisQueryBuilder

All Implemented Interfaces:
  `QueryBuilder`

public class LikeThisQueryBuilder extends Object implements QueryBuilder
Builder for `MoreLikeThisQuery`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LikeThisQueryBuilder(Analyzer analyzer, String[] defaultFieldNames)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Query`
  `getQuery(Element e)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LikeThisQueryBuilder

    public LikeThisQueryBuilder(Analyzer analyzer, String[] defaultFieldNames)

- ## Method Details

  - ### getQuery

    public Query getQuery(Element e) throws ParserException
    Specified by:
      `getQuery` in interface `QueryBuilder`
    Throws:
      `ParserException`