epugh commented on code in PR #2120:
URL: https://github.com/apache/solr/pull/2120#discussion_r1417721067


##########
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:
   I had to disable the security manager to get onnx to load..   I guess we 
could figure out what all the excpetions are that are needed to successuflly 
load it!



-- 
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

Reply via email to