String function ( String arg0 ) { for ( IndexableField loc0 : fields ) { if ( loc0 . arg0 ( ) . equals ( arg0 ) && loc0 . stringValue ( ) != null ) { return loc0 . stringValue ( ) ; } } return null ; }
returns the string value of the field with the given name if any exist in this document , or null . if multiple fields exist with this name , this method returns the first value added . if only binary fields with this name exist , returns null . for intfield , longfield , floatfield and doublefield it returns the string value of the number . if you wantthe actual numeric field instance back , use #getfield . concode_field_sep List<IndexableField> fields concode_elem_sep String[] NO_STRINGS concode_field_sep void add concode_elem_sep Iterator<IndexableField> iterator concode_elem_sep IndexableField[] getFields concode_elem_sep List<IndexableField> getFields concode_elem_sep String[] getValues concode_elem_sep IndexableField getField concode_elem_sep BytesRef[] getBinaryValues concode_elem_sep String toString concode_elem_sep void removeFields concode_elem_sep BytesRef getBinaryValue concode_elem_sep void removeField