Class FacetRequest.Domain.GraphField

java.lang.Object
org.apache.solr.search.facet.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    final org.apache.solr.common.params.SolrParams
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.search.Query
    Creates a Query that can be used to recompute the new "base" for this domain, relative to the current base of the FacetContext.
    static void
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • localParams

      public final org.apache.solr.common.params.SolrParams localParams
  • Method Details

    • 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)
      Creates a Query that can be used to recompute the new "base" for this domain, relative to the current base of the FacetContext.