[jira] [Comment Edited] (SOLR-10292) Add cartesian Streaming Expression to build cartesian products from multi-value fields and text fields

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (SOLR-10292) Add cartesian Streaming Expression to build cartesian products from multi-value fields and text fields

JIRA jira@apache.org

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

Dennis Gove edited comment on SOLR-10292 at 3/19/17 8:31 PM:
-------------------------------------------------------------

Tests added and passing.

This does not add any additional evaluators. I think those can be added in other tickets. All evaluators are supported by this stream so anything you think to add (regex matching, sentence creation, etc...) will work. The stream works with both multi-valued and single-valued fields in so much that it will treat single-valued fields as a collection with a single item.


was (Author: dpgove):
Tests added and passing.

This does not add any additional evaluators. I think those can be added in other tickets. All evaluators are supported by this stream so anything you think to add (regex matching, sentence creation, etc...) will work. The stream works with both multi-valued and sing-valued fields in so much that it will treat single-valued fields as a collection with a single item.

> Add cartesian Streaming Expression to build cartesian products from multi-value fields and text fields
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10292
>                 URL: https://issues.apache.org/jira/browse/SOLR-10292
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public)
>            Reporter: Joel Bernstein
>         Attachments: SOLR-10292.patch, SOLR-10292.patch, SOLR-10292.patch, SOLR-10292.patch
>
>
> Currently all the Streaming Expression such as rollups, intersections, fetch etc, work on single value fields. The *cartesian* expression would create a stream of tuples from a single tuple with a multi-value field. This would allow multi-valued fields to be operated on by the wider library of Streaming Expression.
> For example a single tuple with a multi-valued field:
> id: 1
> author: [Jim, Jack, Steve]
> Would be transformed in the following three tuples:
> id:1
> author:Jim
> id:1
> author:Jack
> id:1
> author:Steve



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]