Re: Streaming Tagger

2020-02-28 Thread David '-1' Schmid
I just wanted to pick this up, but somehow my JIRA account got deactivated. Once I have that figured out, I'll try to propose the change. Thank you! On 28.02.20 14:13, David Smiley wrote: Thanks for your input David.  I won't accept the patch because I think there's a more appropriate way

Re: Streaming Tagger

2020-02-28 Thread David Smiley
Thanks for your input David. I won't accept the patch because I think there's a more appropriate way to go about this -- have the Tagger constructor take an Analyzer instead of a TokenStream in the constructor, and then have the process method take the InputStream and/or string (the fundamental in

Re: Streaming Tagger

2020-02-28 Thread David '-1' Schmid
On 27.02.20 19:01, David Smiley wrote: I'm glad you got it working!  It's sad you felt the need to copy-paste the tagger; perhaps you can recommend changes to make it more extensible so that you or others needn't fork it. Don't need to feel sad, just as I mentioned: it's quick, dirty and I did

Re: Streaming Tagger

2020-02-27 Thread David Smiley
I'm glad you got it working! It's sad you felt the need to copy-paste the tagger; perhaps you can recommend changes to make it more extensible so that you or others needn't fork it. I'm not sure if something like this should be contributed back to Solr itself. I don't even know the bigger pictur

Re: Streaming Tagger

2020-02-27 Thread David '-1' Schmid
Eric, On 27.02.20 14:40, Eric Pugh wrote: David,   I know I’d love to see the code! Here you go. Not pretty, but it works. https://github.com/einsweniger/SolrStreamTagger/ This is not how I plan to do this upstream, just if somebody looks at it. regards, David ---

Re: Streaming Tagger

2020-02-27 Thread Eric Pugh
David, I know I’d love to see the code! I’ve been working on streaming expression called “bump” that triggers a atomic update reindex process on a document. I’m using it as part of a relevancy experimentation workflow where I add a new copyField or change my schema analyzers, and then I

Re: Streaming Tagger

2020-02-27 Thread David '-1' Schmid
Hello again! On 25.02.20 22:39, David Smiley wrote: I haven't worked on streaming expressions yet but I did a little bit of digging around.  I think the ClassifyStream might be somewhat similar to learn from.  It takes a stream of docs, not unlike what you want.  And crucially it implements se

Re: Streaming Tagger

2020-02-25 Thread David Smiley
Hi David, I haven't worked on streaming expressions yet but I did a little bit of digging around. I think the ClassifyStream might be somewhat similar to learn from. It takes a stream of docs, not unlike what you want. And crucially it implements setStreamContext with an implementation which de

Streaming Tagger

2020-02-21 Thread David '-1' Schmid
Hello dear developers! I've been wondering if I'd be able to adapt the current TaggerRequestHandler for using it within the /stream request handler. Starting out is a tad confusing, which I expected since I have almost no experience with the solr/lucene codebase. My goal is as follows: I wa

Streaming Tagger

2020-02-21 Thread David '-1' Schmid
Hello dear developers! I've been wondering if I'd be able to adapt the current TaggerRequestHandler for using it within the /stream request handler. Starting out is a tad confusing, which I expected since I have almost no experience with the solr/lucene codebase. My goal is as follows: I wa