Class MatchNoDocsQuery

java.lang.Object
com.atlassian.confluence.impl.search.v2.lucene.MatchNoDocsQuery

public class MatchNoDocsQuery extends Object
Sometimes you want a "match nothing" query, for example to take the place in a search of something that could not be resolved, and therefore can never be found (i.e. the favourite spaces of the anonymous user)
  • Field Details

  • Constructor Details

    • MatchNoDocsQuery

      public MatchNoDocsQuery()
  • Method Details

    • newInstance

      public static org.apache.lucene.search.Query newInstance()