Class FacetRequest.Domain.GraphField

  • Enclosing class:
    FacetRequest.Domain

    public static class FacetRequest.Domain.GraphField
    extends Object
    Are we doing a query time graph across other documents
    • Field Detail

      • localParams

        public final SolrParams localParams
    • Method Detail

      • createGraphField

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

        (params must not be null)

      • createDomainQuery

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