java.lang.Object
org.apache.lucene.benchmark.byTask.feeds.DocData

public class DocData extends Object
Output of parsing (e.g. HTML parsing) of an input document.
  • Constructor Details

    • DocData

      public DocData()
  • Method Details

    • clear

      public void clear()
    • getBody

      public String getBody()
    • getDate

      public String getDate()
      Returns:
      the date. If the ctor with Date was called, then the String returned is the output of DateTools.dateToString(Date, org.apache.lucene.document.DateTools.Resolution) . Otherwise it's the String passed to the other ctor.
    • getName

      public String getName()
    • getID

      public int getID()
    • getProps

      public Properties getProps()
    • getTitle

      public String getTitle()
    • setBody

      public void setBody(String body)
    • setDate

      public void setDate(Date date)
    • setDate

      public void setDate(String date)
    • setName

      public void setName(String name)
    • setID

      public void setID(int id)
    • setProps

      public void setProps(Properties props)
    • setTitle

      public void setTitle(String title)