Skip to content

Commit c7f1d35

Browse files
committed
ZEPPELIN-501: refactoring, extract SearchService interface + Lucen-based impl
1 parent e3af25c commit c7f1d35

File tree

7 files changed

+416
-333
lines changed

7 files changed

+416
-333
lines changed

zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.apache.zeppelin.rest.ZeppelinRestApi;
4040
import org.apache.zeppelin.scheduler.SchedulerFactory;
4141
import org.apache.zeppelin.search.SearchService;
42+
import org.apache.zeppelin.search.LuceneSearch;
4243
import org.apache.zeppelin.socket.NotebookServer;
4344
import org.eclipse.jetty.server.AbstractConnector;
4445
import org.eclipse.jetty.server.Handler;
@@ -78,7 +79,7 @@ public ZeppelinServer() throws Exception {
7879
this.schedulerFactory = new SchedulerFactory();
7980
this.replFactory = new InterpreterFactory(conf, notebookWsServer);
8081
this.notebookRepo = new NotebookRepoSync(conf);
81-
this.notebookIndex = new SearchService();
82+
this.notebookIndex = new LuceneSearch();
8283

8384
notebook = new Notebook(conf,
8485
notebookRepo, schedulerFactory, replFactory, notebookWsServer, notebookIndex);

0 commit comments

Comments
 (0)