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

Kasper Sørensen commented on METAMODEL-84:
------------------------------------------

I've posted my suggested fix for this here: https://reviews.apache.org/r/26909/

Alberto, if you can review that would be awesome. Anyone else is also welcome 
of course :-)

> Include Document ID (as "_id") in ElasticSearch tables
> ------------------------------------------------------
>
>                 Key: METAMODEL-84
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-84
>             Project: Metamodel
>          Issue Type: Improvement
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>
> I have been trying out the new ElasticSearch module a bit more now ...
> One requirement I would add is: It would be very nice to have the Document 
> IDs represented in our table model. The Document IDs can act as primary keys 
> which makes it much easier to identify records in the table. It also makes 
> sense from a performance point of view since ElasticSearch has a 
> high-performance way of doing a document-lookup based on doc ID. We could 
> thus implement the executePrimaryKeyLookupQuery(...) method in 
> ElasticSearchDataContext and offer such a quick lookup optimization,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to