Class FacetRequest.Domain.JoinField

  • Enclosing class:
    FacetRequest.Domain

    public static class FacetRequest.Domain.JoinField
    extends Object
    Are we doing a query time join across other documents
    • Method Detail

      • createJoinField

        public static void createJoinField​(FacetRequest.Domain domain,
                                           Map<String,​Object> domainMap)
        Given a Domain, and a (JSON) map specifying the configuration for that Domain, validates if a 'join' is specified, and if so creates a JoinField and sets it on the Domain.

        (params must not be null)

      • createDomainQuery

        public org.apache.lucene.search.Query createDomainQuery​(FacetContext fcontext)
        Creates a Query that can be used to recompute the new "base" for this domain, relative to the current base of the FacetContext.