test_class.declarator: notebookRepoMock
test_class.modifier: private static
test_class.original_string: private static NotebookRepo notebookRepoMock;
test_class.type: NotebookRepo
test_class.var_name: notebookRepoMock
test_class.declarator: interpreterFactory
test_class.modifier: private static
test_class.original_string: private static InterpreterFactory interpreterFactory;
test_class.type: InterpreterFactory
test_class.var_name: interpreterFactory
test_class.declarator: interpreterSettingManager
test_class.modifier: private static
test_class.original_string: private static InterpreterSettingManager interpreterSettingManager;
test_class.type: InterpreterSettingManager
test_class.var_name: interpreterSettingManager
test_class.declarator: noteSearchService
test_class.modifier: private
test_class.original_string: private SearchService noteSearchService;
test_class.type: SearchService
test_class.var_name: noteSearchService
test_class.declarator: anonymous
test_class.modifier: private
test_class.original_string: private AuthenticationInfo anonymous;
test_class.type: AuthenticationInfo
test_class.var_name: anonymous
test_class.file: smart-zeppelin/zeppelin-zengine/src/test/java/org/apache/zeppelin/search/LuceneSearchTest.java
test_class.identifier: LuceneSearchTest
test_case.body: @Test public void canDeleteNull() throws IOException {
      //give
      // looks like a bug in web UI: it tries to delete a note twice (after it has just been deleted)
      //when
      noteSearchService.deleteIndexDocs(null);
    }
test_case.class_method_signature: LuceneSearchTest.canDeleteNull()
test_case.full_signature: @Test public void canDeleteNull()
test_case.identifier: canDeleteNull
test_case.invocations: deleteIndexDocs
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void canDeleteNull()
focal_class.declarator: LOG = LoggerFactory.getLogger(LuceneSearch.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(LuceneSearch.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: SEARCH_FIELD_TEXT = "contents"
focal_class.modifier: private static final
focal_class.original_string: private static final String SEARCH_FIELD_TEXT = "contents";
focal_class.type: String
focal_class.var_name: SEARCH_FIELD_TEXT
focal_class.declarator: SEARCH_FIELD_TITLE = "header"
focal_class.modifier: private static final
focal_class.original_string: private static final String SEARCH_FIELD_TITLE = "header";
focal_class.type: String
focal_class.var_name: SEARCH_FIELD_TITLE
focal_class.declarator: PARAGRAPH = "paragraph"
focal_class.modifier: static final
focal_class.original_string: static final String PARAGRAPH = "paragraph";
focal_class.type: String
focal_class.var_name: PARAGRAPH
focal_class.declarator: ID_FIELD = "id"
focal_class.modifier: static final
focal_class.original_string: static final String ID_FIELD = "id";
focal_class.type: String
focal_class.var_name: ID_FIELD
focal_class.declarator: ramDirectory
focal_class.original_string: Directory ramDirectory;
focal_class.type: Directory
focal_class.var_name: ramDirectory
focal_class.declarator: analyzer
focal_class.original_string: Analyzer analyzer;
focal_class.type: Analyzer
focal_class.var_name: analyzer
focal_class.declarator: iwc
focal_class.original_string: IndexWriterConfig iwc;
focal_class.type: IndexWriterConfig
focal_class.var_name: iwc
focal_class.declarator: writer
focal_class.original_string: IndexWriter writer;
focal_class.type: IndexWriter
focal_class.var_name: writer
focal_class.file: smart-zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/search/LuceneSearch.java
focal_class.identifier: LuceneSearch
focal_class.interfaces: implements SearchService
focal_class.class_method_signature: LuceneSearch.LuceneSearch()
focal_class.full_signature: public  LuceneSearch()
focal_class.identifier: LuceneSearch
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  LuceneSearch()
focal_class.class_method_signature: LuceneSearch.query(String queryStr)
focal_class.full_signature: @Override public List<Map<String, String>> query(String queryStr)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (String queryStr)
focal_class.return: List<Map<String, String>>
focal_class.signature: List<Map<String, String>> query(String queryStr)
focal_class.class_method_signature: LuceneSearch.doSearch(IndexSearcher searcher, Query query,
        Analyzer analyzer, Highlighter highlighter)
focal_class.full_signature: private List<Map<String, String>> doSearch(IndexSearcher searcher, Query query,
        Analyzer analyzer, Highlighter highlighter)
focal_class.identifier: doSearch
focal_class.modifiers: private
focal_class.parameters: (IndexSearcher searcher, Query query,
        Analyzer analyzer, Highlighter highlighter)
focal_class.return: List<Map<String, String>>
focal_class.signature: List<Map<String, String>> doSearch(IndexSearcher searcher, Query query,
        Analyzer analyzer, Highlighter highlighter)
focal_class.class_method_signature: LuceneSearch.updateIndexDoc(Note note)
focal_class.full_signature: @Override public void updateIndexDoc(Note note)
focal_class.identifier: updateIndexDoc
focal_class.modifiers: @Override public
focal_class.parameters: (Note note)
focal_class.return: void
focal_class.signature: void updateIndexDoc(Note note)
focal_class.class_method_signature: LuceneSearch.updateIndexNoteName(Note note)
focal_class.full_signature: private void updateIndexNoteName(Note note)
focal_class.identifier: updateIndexNoteName
focal_class.modifiers: private
focal_class.parameters: (Note note)
focal_class.return: void
focal_class.signature: void updateIndexNoteName(Note note)
focal_class.class_method_signature: LuceneSearch.updateIndexParagraph(Note note, Paragraph p)
focal_class.full_signature: private void updateIndexParagraph(Note note, Paragraph p)
focal_class.identifier: updateIndexParagraph
focal_class.modifiers: private
focal_class.parameters: (Note note, Paragraph p)
focal_class.return: void
focal_class.signature: void updateIndexParagraph(Note note, Paragraph p)
focal_class.class_method_signature: LuceneSearch.updateDoc(String noteId, String noteName, Paragraph p)
focal_class.full_signature: private void updateDoc(String noteId, String noteName, Paragraph p)
focal_class.identifier: updateDoc
focal_class.modifiers: private
focal_class.parameters: (String noteId, String noteName, Paragraph p)
focal_class.return: void
focal_class.signature: void updateDoc(String noteId, String noteName, Paragraph p)
focal_class.class_method_signature: LuceneSearch.formatId(String noteId, Paragraph p)
focal_class.full_signature: static String formatId(String noteId, Paragraph p)
focal_class.identifier: formatId
focal_class.modifiers: static
focal_class.parameters: (String noteId, Paragraph p)
focal_class.return: String
focal_class.signature: String formatId(String noteId, Paragraph p)
focal_class.class_method_signature: LuceneSearch.formatDeleteId(String noteId, Paragraph p)
focal_class.full_signature: static String formatDeleteId(String noteId, Paragraph p)
focal_class.identifier: formatDeleteId
focal_class.modifiers: static
focal_class.parameters: (String noteId, Paragraph p)
focal_class.return: String
focal_class.signature: String formatDeleteId(String noteId, Paragraph p)
focal_class.class_method_signature: LuceneSearch.newDocument(String id, String noteName, Paragraph p)
focal_class.full_signature: private Document newDocument(String id, String noteName, Paragraph p)
focal_class.identifier: newDocument
focal_class.modifiers: private
focal_class.parameters: (String id, String noteName, Paragraph p)
focal_class.return: Document
focal_class.signature: Document newDocument(String id, String noteName, Paragraph p)
focal_class.class_method_signature: LuceneSearch.addIndexDocs(Collection<Note> collection)
focal_class.full_signature: @Override public void addIndexDocs(Collection<Note> collection)
focal_class.identifier: addIndexDocs
focal_class.modifiers: @Override public
focal_class.parameters: (Collection<Note> collection)
focal_class.return: void
focal_class.signature: void addIndexDocs(Collection<Note> collection)
focal_class.class_method_signature: LuceneSearch.addIndexDoc(Note note)
focal_class.full_signature: @Override public void addIndexDoc(Note note)
focal_class.identifier: addIndexDoc
focal_class.modifiers: @Override public
focal_class.parameters: (Note note)
focal_class.return: void
focal_class.signature: void addIndexDoc(Note note)
focal_class.class_method_signature: LuceneSearch.addIndexDocAsync(Note note)
focal_class.full_signature: private void addIndexDocAsync(Note note)
focal_class.identifier: addIndexDocAsync
focal_class.modifiers: private
focal_class.parameters: (Note note)
focal_class.return: void
focal_class.signature: void addIndexDocAsync(Note note)
focal_class.class_method_signature: LuceneSearch.deleteIndexDocs(Note note)
focal_class.full_signature: @Override public void deleteIndexDocs(Note note)
focal_class.identifier: deleteIndexDocs
focal_class.modifiers: @Override public
focal_class.parameters: (Note note)
focal_class.return: void
focal_class.signature: void deleteIndexDocs(Note note)
focal_class.class_method_signature: LuceneSearch.deleteIndexDoc(Note note, Paragraph p)
focal_class.full_signature: @Override public void deleteIndexDoc(Note note, Paragraph p)
focal_class.identifier: deleteIndexDoc
focal_class.modifiers: @Override public
focal_class.parameters: (Note note, Paragraph p)
focal_class.return: void
focal_class.signature: void deleteIndexDoc(Note note, Paragraph p)
focal_class.class_method_signature: LuceneSearch.deleteDoc(Note note, Paragraph p)
focal_class.full_signature: private void deleteDoc(Note note, Paragraph p)
focal_class.identifier: deleteDoc
focal_class.modifiers: private
focal_class.parameters: (Note note, Paragraph p)
focal_class.return: void
focal_class.signature: void deleteDoc(Note note, Paragraph p)
focal_class.class_method_signature: LuceneSearch.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: LuceneSearch.indexNoteName(IndexWriter w, String noteId, String noteName)
focal_class.full_signature: private void indexNoteName(IndexWriter w, String noteId, String noteName)
focal_class.identifier: indexNoteName
focal_class.modifiers: private
focal_class.parameters: (IndexWriter w, String noteId, String noteName)
focal_class.return: void
focal_class.signature: void indexNoteName(IndexWriter w, String noteId, String noteName)
focal_class.class_method_signature: LuceneSearch.indexDoc(IndexWriter w, String noteId, String noteName, Paragraph p)
focal_class.full_signature: private void indexDoc(IndexWriter w, String noteId, String noteName, Paragraph p)
focal_class.identifier: indexDoc
focal_class.modifiers: private
focal_class.parameters: (IndexWriter w, String noteId, String noteName, Paragraph p)
focal_class.return: void
focal_class.signature: void indexDoc(IndexWriter w, String noteId, String noteName, Paragraph p)
focal_method.body: @Override
    public void deleteIndexDocs(Note note) {
      deleteDoc(note, null);
    }
focal_method.class_method_signature: LuceneSearch.deleteIndexDocs(Note note)
focal_method.full_signature: @Override public void deleteIndexDocs(Note note)
focal_method.identifier: deleteIndexDocs
focal_method.invocations: deleteDoc
focal_method.modifiers: @Override public
focal_method.parameters: (Note note)
focal_method.return: void
focal_method.signature: void deleteIndexDocs(Note note)