Interface ScoreScript.LeafFactory

Enclosing class:
ScoreScript

public static interface ScoreScript.LeafFactory
A factory to construct ScoreScript instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if the script needs _score calculated, or false otherwise.
    boolean
    Return true if the script needs _termStats calculated, or false otherwise.
     
  • Method Details

    • needs_score

      boolean needs_score()
      Return true if the script needs _score calculated, or false otherwise.
    • needs_termStats

      boolean needs_termStats()
      Return true if the script needs _termStats calculated, or false otherwise.
    • newInstance

      ScoreScript newInstance(DocReader reader) throws IOException
      Throws:
      IOException