Class 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)
    • Constructor Detail

      • MatchNoDocsQuery

        public MatchNoDocsQuery()
    • Method Detail

      • newInstance

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