[ https://issues.apache.org/jira/browse/SOLR-13622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899653#comment-16899653 ]
Joel Bernstein edited comment on SOLR-13622 at 8/4/19 4:29 PM: --------------------------------------------------------------- This functions work great! As I've been testing it out I've found the "files" function name to be a bit confusing (I had originally requested that name). I was thinking that a better name might be "cat". The sample syntax would be: {code:java} cat("file.csv"){code} We can keep the undelying FileStream class and just map a different function name. The reason I like "cat" is that it behaves very much like the unix cat command and the Streaming Expression design is very similar to the unix pipes design. was (Author: joel.bernstein): The more that I test out this feature the less I like the function name "files". I was thinking that a better name might be "cat". The sample syntax would be: {code:java} cat("file.csv"){code} We can keep the undelying FileStream class and just map a different function name. The reason I like "cat" is that it behaves very much like the unix cat command and the Streaming Expression design is very similar to the unix pipes design. > Add FileStream Streaming Expression > ----------------------------------- > > Key: SOLR-13622 > URL: https://issues.apache.org/jira/browse/SOLR-13622 > Project: Solr > Issue Type: New Feature > Components: streaming expressions > Reporter: Joel Bernstein > Assignee: Jason Gerlowski > Priority: Major > Fix For: 8.3 > > Attachments: SOLR-13622.patch, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org