void function ( String arg0 , String arg1 , Paragraph arg2 ) { String loc0 = formatId ( arg0 , arg2 ) ; Document loc1 = newDocument ( loc0 , arg1 , arg2 ) ; try { writer . updateDocument ( new Term ( ID_FIELD , loc0 ) , loc1 ) ; writer . commit ( ) ; } catch ( IOException loc2 ) { LOG . error ( "srini_string" , arg0 , loc2 ) ; } }
updates index for the given note : either note.name or a paragraph if paragraph is null - updates only for the note.name concode_field_sep String SEARCH_FIELD_TITLE concode_elem_sep String PARAGRAPH concode_elem_sep IndexWriterConfig iwc concode_elem_sep Directory ramDirectory concode_elem_sep String SEARCH_FIELD_TEXT concode_elem_sep Analyzer analyzer concode_elem_sep String ID_FIELD concode_elem_sep Logger LOG concode_elem_sep IndexWriter writer concode_field_sep void indexNoteName concode_elem_sep void addIndexDoc concode_elem_sep void addIndexDocAsync concode_elem_sep List<Map<String,String>> query concode_elem_sep void deleteIndexDoc concode_elem_sep String formatDeleteId concode_elem_sep void updateIndexNoteName concode_elem_sep void addIndexDocs concode_elem_sep void indexDoc concode_elem_sep String formatId concode_elem_sep void deleteDoc concode_elem_sep void deleteIndexDocs concode_elem_sep void updateIndexParagraph concode_elem_sep List<Map<String,String>> doSearch concode_elem_sep void updateIndexDoc concode_elem_sep void close concode_elem_sep Document newDocument