Class DrillSideways
  
  Computes drill down and sideways counts for the provided
DrillDownQuery.  Drill sideways counts include
alternative values/aggregates for the drill-down
dimensions so that a dimension does not disappear after
the user drills down into it.
 Use one of the static search
methods to do the search, and then get the hits and facet
results from the returned DrillSidewaysResult.
NOTE: this allocates one FacetsCollector
for each drill-down, plus one.  If your
index has high number of facet labels then this will
multiply your memory usage.
@lucene.experimental
    Inheritance
    System.Object
    DrillSideways
   
  
    Inherited Members
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: Lucene.Net.Facet.dll
  Syntax
  
    public class DrillSideways
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrillSideways(IndexSearcher, FacetsConfig, SortedSetDocValuesReaderState)
  
  
  Declaration
  
    public DrillSideways(IndexSearcher searcher, FacetsConfig config, SortedSetDocValuesReaderState state)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader)
  
  
  Declaration
  
    public DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader, SortedSetDocValuesReaderState)
  
  
  Declaration
  
    public DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state)
   
  Parameters
  
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_config
  
  
  Declaration
  
    protected readonly FacetsConfig m_config
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_searcher
  
  
  Declaration
  
    protected readonly IndexSearcher m_searcher
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_state
  
  
  Declaration
  
    protected readonly SortedSetDocValuesReaderState m_state
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_taxoReader
  
  
  Declaration
  
    protected readonly TaxonomyReader m_taxoReader
   
  Field Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  BuildFacetsResult(FacetsCollector, FacetsCollector[], String[])
  Subclass can override to customize per-dim Facets
impl. 
Declaration
  
    protected virtual Facets BuildFacetsResult(FacetsCollector drillDowns, FacetsCollector[] drillSideways, string[] drillSidewaysDims)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ScoreSubDocsAtOnce()
  Override this and return true if your collector
(e.g., ToParentBlockJoinCollector) expects all
sub-scorers to be positioned on the document being
collected.  This will cause some performance loss;
default is false.  Note that if you return true from
this method (in a subclass) be sure your collector
also returns false from AcceptsDocsOutOfOrder: 
this will trick BooleanQuery into also scoring all subDocs at
once. 
Declaration
  
    protected virtual bool ScoreSubDocsAtOnce()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Search(DrillDownQuery, Filter, FieldDoc, Int32, Sort, Boolean, Boolean)
  Search, sorting by Sort, and computing
drill down and sideways counts.
Declaration
  
    public virtual DrillSidewaysResult Search(DrillDownQuery query, Filter filter, FieldDoc after, int topN, Sort sort, bool doDocScores, bool doMaxScore)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Search(DrillDownQuery, ICollector)
  Search, collecting hits with a ICollector, and
computing drill down and sideways counts.
Declaration
  
    public virtual DrillSidewaysResult Search(DrillDownQuery query, ICollector hitCollector)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Search(DrillDownQuery, Int32)
  Search, sorting by score, and computing
drill down and sideways counts.
Declaration
  
    public virtual DrillSidewaysResult Search(DrillDownQuery query, int topN)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Search(ScoreDoc, DrillDownQuery, Int32)
  Search, sorting by score, and computing
drill down and sideways counts.
Declaration
  
    public virtual DrillSidewaysResult Search(ScoreDoc after, DrillDownQuery query, int topN)
   
  Parameters
  
  Returns