Show / Hide Table of Contents

    Class EnwikiContentSource

    A ContentSource which reads the English Wikipedia dump. You can read the .bz2 file directly (it will be decompressed on the fly). Config properties:

    • keep.image.only.docsfalse|true (default true).
    • docs.file<path to the file>

    Inheritance
    System.Object
    ContentItemsSource
    ContentSource
    EnwikiContentSource
    Inherited Members
    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 EnwikiContentSource : ContentSource

    Constructors

    | Improve this Doc View Source

    EnwikiContentSource()

    Declaration
    public EnwikiContentSource()

    Methods

    | 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

    GetNextDocData(DocData)

    Declaration
    public override DocData GetNextDocData(DocData docData)
    Parameters
    Type Name Description
    DocData docData
    Returns
    Type Description
    DocData
    Overrides
    ContentSource.GetNextDocData(DocData)
    | Improve this Doc View Source

    OpenInputStream()

    Open the input stream.

    Declaration
    protected virtual Stream OpenInputStream()
    Returns
    Type Description
    Stream
    | Improve this Doc View Source

    ResetInputs()

    Declaration
    public override void ResetInputs()
    Overrides
    ContentItemsSource.ResetInputs()
    | 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)