alessandrobenedetti commented on code in PR #1680: URL: https://github.com/apache/solr/pull/1680#discussion_r1214611949
########## solr/core/src/test/org/apache/solr/schema/DenseVectorFieldTest.java: ########## @@ -456,6 +458,25 @@ public void indexing_correctDocument_shouldBeIndexed() throws Exception { } } + @Test + public void indexing_highDimensionalityVectorDocument_shouldBeIndexed() throws Exception { + try { + initCore("solrconfig-basic.xml", "schema-densevector-high-dimensionality.xml"); + + List<Float> highDimensionalityVector = new ArrayList<>(); + for(float i=0; i< 2048f; i++){ + highDimensionalityVector.add(i); + } + SolrInputDocument correctDoc = new SolrInputDocument(); + correctDoc.addField("id", "0"); + correctDoc.addField("vector", highDimensionalityVector); + + assertU(adoc(correctDoc)); Review Comment: added a first rough implementation in the latest commit, it's just a first step, happy to refine the test later -- 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