[
https://issues.apache.org/jira/browse/SOLR-12159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joel Bernstein updated SOLR-12159:
----------------------------------
Description:
The *memset* function copies multiple numeric arrays into memory from fields in
an underlying TupleStream. This will be much more memory efficient then calling
the *col* function multiple times on an in-memory list of Tuples. Sample
syntax:
{code:java}
let(a=memset(random(collection1, q="*:*", fl="field1, field2", rows=10000),
cols="field1, field2",
vars="c, d",
size=10000),
e=corr(c, d))
{code}
was:
The *memset* function will copy multiple numeric arrays into memory from fields
in an underlying TupleStream. This will be much more memory efficient then
calling the *col* function multiple times on an in-memory list of Tuples.
Sample syntax:
{code:java}
let(a=memset(random(collection1, q="*:*", fl="field1, field2", rows=10000),
cols="field1, field2",
vars="c, d",
size=10000),
e=corr(c, d))
{code}
> Add memset Stream Evaluator
> ---------------------------
>
> Key: SOLR-12159
> URL: https://issues.apache.org/jira/browse/SOLR-12159
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Priority: Major
> Fix For: 7.4
>
> Attachments: SOLR-12159.patch, SOLR-12159.patch, SOLR-12159.patch
>
>
> The *memset* function copies multiple numeric arrays into memory from fields
> in an underlying TupleStream. This will be much more memory efficient then
> calling the *col* function multiple times on an in-memory list of Tuples.
> Sample syntax:
> {code:java}
> let(a=memset(random(collection1, q="*:*", fl="field1, field2", rows=10000),
> cols="field1, field2",
> vars="c, d",
> size=10000),
> e=corr(c, d))
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]