cpoerschke commented on code in PR #2120: URL: https://github.com/apache/solr/pull/2120#discussion_r1417757648
########## solr/modules/analysis-extras/src/test/org/apache/solr/update/processor/TestOpenNLPExtractNamedEntitiesUpdateProcessorFactory.java: ########## @@ -34,6 +34,13 @@ public static void beforeClass() throws Exception { "solrconfig-opennlp-extract.xml", "schema-opennlp-extract.xml", testHome.getAbsolutePath()); } + @Test + public void testTextToVector() throws Exception { + SolrInputDocument doc = + processAdd("text-to-vector", doc(f("id", "42"), f("name", "Hello World"))); + assertEquals("TODO", "", doc.getFieldValue("film_vector")); + } + Review Comment: Thanks! I just arrived at similar conclusion -- https://github.com/apache/solr/pull/2120/commits/e20ec384d7095511647464e28b4bbaf83f0d8aa8 works as interim but really we'd need something more proper. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org