Example usage for org.apache.lucene.analysis.tokenattributes PackedTokenAttributeImpl subclass-usage

List of usage examples for org.apache.lucene.analysis.tokenattributes PackedTokenAttributeImpl subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.tokenattributes PackedTokenAttributeImpl subclass-usage.

Usage

From source file org.apache.solr.spelling.Token.java

/**
 A Token is an occurrence of a term from the text of a field.  It consists of
 a term's text, the start and end offset of the term in the text of the field,
 and a type string.
 <p>
 The start and end offsets permit applications to re-associate a token with