Show / Hide Table of Contents

    Class SortableSingleDocSource

    Adds fields appropriate for sorting: country, random_string and sort_field (int). Supports the following parameters:

    • sort.rngdefines the range for sort-by-int field (default 20000).
    • rand.seeddefines the seed to initialize Random with (default 13).

    Inheritance
    System.Object
    ContentItemsSource
    ContentSource
    SingleDocSource
    SortableSingleDocSource
    Inherited Members
    SingleDocSource.Dispose(Boolean)
    SingleDocSource.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 SortableSingleDocSource : SingleDocSource

    Methods

    | Improve this Doc View Source

    GetNextDocData(DocData)

    Declaration
    public override DocData GetNextDocData(DocData docData)
    Parameters
    Type Name Description
    DocData docData
    Returns
    Type Description
    DocData
    Overrides
    SingleDocSource.GetNextDocData(DocData)
    | 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)