Class DocData
Output of parsing (e.g. HTML parsing) of an input document.
Inheritance
System.Object
    DocData
  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()
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class DocData
  Properties
| Improve this Doc View SourceBody
Declaration
public string Body { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Date
Gets the date. If the ctor with System.DateTime was called, then the string returned is the output of DateToString(DateTime, DateTools.Resolution). Otherwise it's the string passed to the other ctor.
Declaration
public virtual string Date { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
ID
Declaration
public int ID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Name
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Props
Declaration
public IDictionary<string, string> Props { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.String> | 
Title
Declaration
public string Title { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceClear()
Declaration
public void Clear()
  SetDate(Nullable<DateTime>)
Declaration
public virtual void SetDate(DateTime? date)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.DateTime> | date | 
SetDate(String)
Declaration
public virtual void SetDate(string date)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | date |