Package com.enonic.xp.node

## Class NodeHit.Builder

- java.lang.Object
- - com.enonic.xp.node.NodeHit.Builder

- Enclosing class:
    NodeHit

      public static final class NodeHit.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `NodeHit` | `build()` |
    `NodeHit.Builder` | `explanation​(QueryExplanation val)` |
    `NodeHit.Builder` | `highlight​(HighlightedProperties val)` |
    `NodeHit.Builder` | `nodeId​(NodeId val)` |
    `NodeHit.Builder` | `nodePath​(NodePath val)` |
    `NodeHit.Builder` | `score​(float val)` |
    `NodeHit.Builder` | `sort​(SortValuesProperty sortValues)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### nodeId

          public NodeHit.Builder nodeId​(NodeId val)

    - #### nodePath

          public NodeHit.Builder nodePath​(NodePath val)

    - #### score

          public NodeHit.Builder score​(float val)

    - #### explanation

          public NodeHit.Builder explanation​(QueryExplanation val)

    - #### highlight

          public NodeHit.Builder highlight​(HighlightedProperties val)

    - #### sort

          public NodeHit.Builder sort​(SortValuesProperty sortValues)

    - #### build

          public NodeHit build()