Class HumanReadableQuery

java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.misc.search.HumanReadableQuery

public final class HumanReadableQuery extends Query
A simple query wrapper for debug purposes. Behaves like the given query, but when printing to a string, it will prepend the description parameter to the query output.
  • Constructor Details

    • HumanReadableQuery

      public HumanReadableQuery(Query in, String description)
      Create a new HumanReadableQuery
      Parameters:
      in - the query to wrap
      description - a human-readable description, used in toString()
  • Method Details