Package org.apache.solr.search.facet
Class FacetRequest.Domain.JoinField
- java.lang.Object
-
- org.apache.solr.search.facet.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.QuerycreateDomainQuery(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 voidcreateJoinField(FacetRequest.Domain domain, Map<String,Object> domainMap)Given aDomain, and a (JSON) map specifying the configuration for that Domain, validates if a 'join' is specified, and if so creates aJoinFieldand sets it on theDomain.
-
-
-
Method Detail
-
createJoinField
public static void createJoinField(FacetRequest.Domain domain, Map<String,Object> domainMap)
Given aDomain, and a (JSON) map specifying the configuration for that Domain, validates if a 'join' is specified, and if so creates aJoinFieldand sets it on theDomain.(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
-
-