Example usage for org.apache.lucene.index Fields subclass-usage

List of usage examples for org.apache.lucene.index Fields subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.index Fields subclass-usage.

Usage

From source file org.elasticsearch.action.termvector.TermVectorFields.java

/**
 * This class represents the result of a {@link TermVectorRequest}. It works
 * exactly like the {@link Fields} class except for one thing: It can return
 * offsets and payloads even if positions are not present. You must call
 * nextPosition() anyway to move the counter although this method only returns
 * <tt>-1,</tt>, if no positions were returned by the {@link TermVectorRequest}.

From source file org.elasticsearch.action.termvectors.TermVectorsFields.java

/**
 * This class represents the result of a {@link TermVectorsRequest}. It works
 * exactly like the {@link Fields} class except for one thing: It can return
 * offsets and payloads even if positions are not present. You must call
 * nextPosition() anyway to move the counter although this method only returns
 * <tt>-1,</tt>, if no positions were returned by the {@link TermVectorsRequest}.