David Smiley created SOLR-14292: ----------------------------------- Summary: Refactor Tagger for re-use, thus aiding bulk-tagging Key: SOLR-14292 URL: https://issues.apache.org/jira/browse/SOLR-14292 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Reporter: David Smiley
The Tagger (used in TaggerRequestHandler AKA SolrTextTagger) is designed for one-off use for some input text. Instead it'd be nicer if it were designed to be re-used for repeated tagging, provided the configuration is the same of course. This could easily be done by having the constructor take the Analyzer, and having the process method take the inputs (String or Reader). Additionally, it'd be nicer if perhaps the tagCallback was provided as a simple interface to be passed to the process method so that it's clear this is where the results go. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org