Class NameRangeQuery

    • Constructor Detail

      • NameRangeQuery

        public NameRangeQuery​(Name lowerName,
                              Name upperName,
                              boolean inclusive,
                              IndexFormatVersion version,
                              NamespaceMappings nsMappings,
                              org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
        Creates a new NameRangeQuery. The lower or the upper name may be null, but not both!
        Parameters:
        lowerName - the lower name of the interval, or null
        upperName - the upper name of the interval, or null.
        inclusive - if true the interval is inclusive.
        version - the index format version.
        nsMappings - the internal namespace mappings.
    • Method Detail

      • rewrite

        public org.apache.lucene.search.Query rewrite​(org.apache.lucene.index.IndexReader reader)
                                               throws IOException
        Overrides:
        rewrite in class org.apache.lucene.search.Query
        Throws:
        IOException
      • toString

        public String toString​(String field)
        Specified by:
        toString in class org.apache.lucene.search.Query