| Constructor and Description |
|---|
FieldInfos(FieldInfo[] infos) |
| Modifier and Type | Method and Description |
|---|---|
FieldInfo |
fieldInfo(int fieldNumber)
Return the fieldinfo object referenced by the fieldNumber.
|
FieldInfo |
fieldInfo(String fieldName)
Return the fieldinfo object referenced by the field name
|
boolean |
hasDocValues() |
boolean |
hasFreq()
Returns true if any fields have freqs
|
boolean |
hasNorms() |
boolean |
hasProx()
Returns true if any fields have positions
|
boolean |
hasVectors() |
Iterator<FieldInfo> |
iterator()
Returns an iterator over all the fieldinfo objects present,
ordered by ascending field number
|
int |
size() |
public FieldInfos(FieldInfo[] infos)
public boolean hasFreq()
public boolean hasProx()
public boolean hasVectors()
public boolean hasNorms()
public boolean hasDocValues()
public int size()
public Iterator<FieldInfo> iterator()
public FieldInfo fieldInfo(String fieldName)
public FieldInfo fieldInfo(int fieldNumber)
fieldNumber - Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.