Show / Hide Table of Contents

    Class RandomFacetSource

    Simple implementation of a random facet source.

    Inheritance
    System.Object
    ContentItemsSource
    FacetSource
    RandomFacetSource
    Inherited Members
    FacetSource.ResetInputs()
    ContentItemsSource.m_forever
    ContentItemsSource.m_logStep
    ContentItemsSource.m_verbose
    ContentItemsSource.m_encoding
    ContentItemsSource.AddBytes(Int64)
    ContentItemsSource.AddItem()
    ContentItemsSource.CollectFiles(DirectoryInfo, IList<FileInfo>)
    ContentItemsSource.ShouldLog()
    ContentItemsSource.Dispose()
    ContentItemsSource.BytesCount
    ContentItemsSource.ItemsCount
    ContentItemsSource.Config
    ContentItemsSource.TotalBytesCount
    ContentItemsSource.TotalItemsCount
    ContentItemsSource.PrintStatistics(String)
    Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class RandomFacetSource : FacetSource
    Remarks

    Supports the following parameters:

    • rand.seeddefines the seed to initialize with (default: 13).
    • max.doc.facet.dimsMax number of random dimensions to create (default: 5); actual number of dimensions would be anything between 1 and that number.
    • max.doc.facetsmaximal #facets per doc (default: 10). Actual number of facets in a certain doc would be anything between 1 and that number.
    • max.facet.depthmaximal #components in a facet (default: 3). Actual number of components in a certain facet would be anything between 1 and that number.

    Methods

    | Improve this Doc View Source

    Configure(FacetsConfig)

    Declaration
    public override void Configure(FacetsConfig config)
    Parameters
    Type Name Description
    FacetsConfig config
    Overrides
    FacetSource.Configure(FacetsConfig)
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    ContentItemsSource.Dispose(Boolean)
    | Improve this Doc View Source

    GetNextFacets(IList<FacetField>)

    Declaration
    public override void GetNextFacets(IList<FacetField> facets)
    Parameters
    Type Name Description
    IList<FacetField> facets
    Overrides
    FacetSource.GetNextFacets(IList<FacetField>)
    | Improve this Doc View Source

    SetConfig(Config)

    Declaration
    public override void SetConfig(Config config)
    Parameters
    Type Name Description
    Config config
    Overrides
    ContentItemsSource.SetConfig(Config)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)