void function ( String arg0 ) { Iterator < IndexableField > loc0 = fields . iterator ( ) ; while ( loc0 . hasNext ( ) ) { IndexableField loc1 = loc0 . next ( ) ; if ( loc1 . arg0 ( ) . equals ( arg0 ) ) { loc0 . remove ( ) ; return ; } } }
removes field with the specified name from the document . if multiple fields exist with this name , this method removes the first field that has been added . if there is no field with the specified name , the document remains unchanged . note that the removefield s methods like the add method only make sense prior to adding a document to an index . these methods can not be used to change the content of an existing index ! in order to achieve this , a document has to be deleted from an index and a new changed version of that document has to be added . 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 String get 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