[
https://issues.apache.org/jira/browse/SOLR-7535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gerlowski updated SOLR-7535:
----------------------------------
Attachment: SOLR-7535.patch
After some more poking around last night and this morning (and with help from
Joel and Dennis), I found where my confusion was coming from yesterday.
I've updated the patch to include *basic* tests. {{StreamExpressionTest}} now
has clauses for testUpdateStream, and testParallelUpdateStream. I also added a
testUpdateStream to {{StreamExpressionToExpessionTest}} The tests (hopefully)
do about what you expect them to.
I want to stress that these are just _basic_ tests though. There were a few
other test cases that I thought of adding but didn't. (test where batchSize
evenly divides into numResults for underlying stream, test where batchSize
doesn't evenly divide, test where there are 0 results from underlying stream,
test that nice messages are returned on common error cases, test that
multivalued fields are handled properly, etc.)
I'm happy to add these sorts of tests too if people think they're worth the
future-maintenance and test-suite-runtime cost. (I think they're def worth it,
but I wanted to defer to others with more experience before starting...just a
sanity check). Ideally, since there's more cases I'm trying to cover, I'd like
to put these tests in a separate file entirely (i.e. a new
{{UpdateStreamTest}}).
> Add UpdateStream to Streaming API and Streaming Expression
> ----------------------------------------------------------
>
> Key: SOLR-7535
> URL: https://issues.apache.org/jira/browse/SOLR-7535
> Project: Solr
> Issue Type: New Feature
> Components: clients - java, SolrJ
> Reporter: Joel Bernstein
> Priority: Minor
> Attachments: SOLR-7535.patch, SOLR-7535.patch, SOLR-7535.patch
>
>
> The ticket adds an UpdateStream implementation to the Streaming API and
> streaming expressions. The UpdateStream will wrap a TupleStream and send the
> Tuples it reads to a SolrCloud collection to be indexed.
> This will allow users to pull data from different Solr Cloud collections,
> merge and transform the streams and send the transformed data to another Solr
> Cloud collection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]