Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ExtractWikipedia

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Inheritance
    object
    ExtractWikipedia
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Benchmarks.Utils
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class ExtractWikipedia

    Constructors

    ExtractWikipedia(DocMaker, DirectoryInfo)

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    public ExtractWikipedia(DocMaker docMaker, DirectoryInfo outputDir)
    Parameters
    Type Name Description
    DocMaker docMaker
    DirectoryInfo outputDir

    Fields

    count

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    public static int count
    Field Value
    Type Description
    int

    m_docMaker

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    protected DocMaker m_docMaker
    Field Value
    Type Description
    DocMaker

    Methods

    Create(string, string, string, string)

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    public virtual void Create(string id, string title, string time, string body)
    Parameters
    Type Name Description
    string id
    string title
    string time
    string body

    Directory(int, DirectoryInfo)

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    public virtual DirectoryInfo Directory(int count, DirectoryInfo directory)
    Parameters
    Type Name Description
    int count
    DirectoryInfo directory
    Returns
    Type Description
    DirectoryInfo

    Extract()

    Extract the downloaded Wikipedia dump into separate files for indexing.

    Declaration
    public virtual void Extract()

    Main(string[])

    LUCENENET specific: In the Java implementation, this Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to this method: benchmark extract-wikipedia

    Declaration
    public static void Main(string[] args)
    Parameters
    Type Name Description
    string[] args

    The command line arguments

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.