You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/02/28 13:12:00 UTC

[jira] [Created] (SOLR-14292) Refactor Tagger for re-use, thus aiding bulk-tagging

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org