[ 
https://issues.apache.org/jira/browse/S2GRAPH-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106712#comment-16106712
 ] 

ASF GitHub Bot commented on S2GRAPH-153:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-s2graph/pull/113


> Implement IndexProvider(for Mixed IndexType) class
> --------------------------------------------------
>
>                 Key: S2GRAPH-153
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-153
>             Project: S2Graph
>          Issue Type: Sub-task
>    Affects Versions: 0.2.0
>            Reporter: DOYUNG YOON
>            Assignee: DOYUNG YOON
>             Fix For: 0.2.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Currently, there is no global index layer in s2graph. One idea to implement 
> global index layer is using search engine and index Edge/Vertex based on 
> their property with Index Configuration.
> In this task, IndexProvider trait, which can be extended by Lucene, 
> ElasticSearch, Solr, etc should be implemented and provide following methods 
> on Edge/Vertex.
> - Indexing
> {noformat}
> - def mutateVertices(vertices: Seq[S2Vertex]): Seq[Boolean]
> - def mutateEdges(edges: Seq[S2Edge]): Seq[Boolean]
> {noformat}
> - Querying
> {noformat}
> - def fetchEdgeIds(queryString: String): java.util.List[EdgeId]
> - def fetchVertexIds(queryString: String): java.util.List[VertexId]
> {noformat}
> I can't decide if return type of Querying APIs should be changed into Future 
> or not so please give any help on this.
>       



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to