lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9337) Add fetch Streaming Expression
Date Mon, 03 Apr 2017 15:02:41 GMT

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

David Smiley commented on SOLR-9337:
------------------------------------

bq. How does a fetch differ from an innerJoin?

IMO I think that points to an unfortunate choice of names for this streaming expression. 
I had the same question.  "join" should have been in this streaming expression's name; be
it "join" exactly or some variation but I think developers expect to see that term if it works
like DB joins that we all know.

> Add fetch Streaming Expression
> ------------------------------
>
>                 Key: SOLR-9337
>                 URL: https://issues.apache.org/jira/browse/SOLR-9337
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>             Fix For: 6.3
>
>         Attachments: SOLR-9337.patch, SOLR-9337.patch
>
>
> The fetch() Streaming Expression wraps another expression and fetches additional fields
for documents in batches. The fetch() expression will stream out the Tuples after the data
has been fetched. Fields can be fetched from any SolrCloud collection. 
> Sample syntax:
> {code}
> daemon(
>        update(collectionC, batchSize="100"
>               fetch(collectionB, 
>                     topic(checkpoints, collectionA, q="*:*", fl="a,b,c", rows="50"),
>                     fl="j,m,z",
>                     on="a=j")))
>        
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message