[S2GRAPH-175]: Provide Elastic Search Index Provider.
JIRA:
[S2GRAPH-175] https://issues.apache.org/jira/browse/S2GRAPH-175
Pull Request:
Closes #130
Author
DO YUNG YOON <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/8f9214e8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/8f9214e8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/8f9214e8
Branch: refs/heads/master
Commit: 8f9214e828852256f25dfc948f26be79a02f41f7
Parents: f164d1d
Author: DO YUNG YOON <[email protected]>
Authored: Mon Feb 12 16:24:26 2018 +0900
Committer: DO YUNG YOON <[email protected]>
Committed: Mon Feb 12 16:25:34 2018 +0900
----------------------------------------------------------------------
CHANGES | 1 +
.../s2graph/core/index/ESIndexProvider.scala | 19 +++++++++++++++++++
.../s2graph/core/index/LuceneIndexProvider.scala | 19 +++++++++++++++++++
3 files changed, 39 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8f9214e8/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 0594ff1..2dcdfcf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -54,6 +54,7 @@ Release Notes - S2Graph - Version 0.2.0
* [S2GRAPH-123] - Support different index on out/in direction.
* [S2GRAPH-125] - Add options field on Label model for controlling
advanced options.
* [S2GRAPH-166] - Provide embeddable storage backend using RocksDB.
+ * [S2GRAPH-175] - Provide Elastic Search Index Provider.
** Task
* [S2GRAPH-162] - Update year in the NOTICE file.
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8f9214e8/s2core/src/main/scala/org/apache/s2graph/core/index/ESIndexProvider.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/index/ESIndexProvider.scala
b/s2core/src/main/scala/org/apache/s2graph/core/index/ESIndexProvider.scala
index 6499874..10c9222 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/index/ESIndexProvider.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/index/ESIndexProvider.scala
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
package org.apache.s2graph.core.index
import java.util
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8f9214e8/s2core/src/main/scala/org/apache/s2graph/core/index/LuceneIndexProvider.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/index/LuceneIndexProvider.scala
b/s2core/src/main/scala/org/apache/s2graph/core/index/LuceneIndexProvider.scala
index 8cafb89..841331d 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/index/LuceneIndexProvider.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/index/LuceneIndexProvider.scala
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
package org.apache.s2graph.core.index
import java.util