PositionSpan (Lucene 10.5.0 highlighter API)
Description: declaration: package: org.apache.lucene.search.highlight, class: PositionSpan

Package org.apache.lucene.search.highlight

# Class PositionSpan

java.lang.Object
org.apache.lucene.search.highlight.PositionSpan

public class PositionSpan extends Object
Utility class to record Positions Spans

NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PositionSpan(int start, int end)`

- ## Method Summary

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

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

- ## Constructor Details

  - ### PositionSpan

    public PositionSpan(int start, int end)