Package org.apache.solr.search.facet
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 SolrParams
localParams
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Query
createDomainQuery(org.apache.solr.search.facet.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.static void
createGraphField(FacetRequest.Domain domain, Map<String,Object> domainMap)
Given aDomain
, and a (JSON) map specifying the configuration for that Domain, validates if a 'graph
' is specified, and if so creates aGraphField
and sets it on theDomain
.
-
-
-
Field Detail
-
localParams
public final SolrParams localParams
-
-
Method Detail
-
createGraphField
public static void createGraphField(FacetRequest.Domain domain, Map<String,Object> domainMap)
Given aDomain
, and a (JSON) map specifying the configuration for that Domain, validates if a 'graph
' is specified, and if so creates aGraphField
and sets it on theDomain
. (params must not be null)
-
createDomainQuery
public org.apache.lucene.search.Query createDomainQuery(org.apache.solr.search.facet.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
-
-