org.apache.lucene.search

Class FieldCache.StringIndex

Enclosing Class:
FieldCache

public static class FieldCache.StringIndex
extends java.lang.Object

Expert: Stores term text values and document ordering data.

Field Summary

String[]
lookup
All the term values, in natural order.
int[]
order
For each document, an index into the lookup array.

Constructor Summary

StringIndex(int[] values, String[] lookup)
Creates one of these objects

Field Details

lookup

public final String[] lookup
All the term values, in natural order.


order

public final int[] order
For each document, an index into the lookup array.

Constructor Details

StringIndex

public StringIndex(int[] values,
                   String[] lookup)
Creates one of these objects


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.