lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13622) Add FileStream Streaming Expression
Date Mon, 15 Jul 2019 12:22:00 GMT

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

Joel Bernstein commented on SOLR-13622:
---------------------------------------

The StreamContext has a reference to the SolrCore where the request is being executed. 
{code:java}
SolrCore core = streamContext.get("solr-core"){code}
Once you have the core you can get the SolrResourceLoader and then figure out how to fetch
files.

The SolrCore is set for each request in StreamHandler line 174.

> Add FileStream Streaming Expression
> -----------------------------------
>
>                 Key: SOLR-13622
>                 URL: https://issues.apache.org/jira/browse/SOLR-13622
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: Joel Bernstein
>            Assignee: Jason Gerlowski
>            Priority: Major
>         Attachments: SOLR-13622.patch
>
>
> The FileStream will read files from a local filesystem and Stream back each line of the
file as a tuple.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message