File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
modules/mapper-extras/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4646public class DenseVectorFieldMapper extends FieldMapper implements ArrayValueMapperParser {
4747
4848 public static final String CONTENT_TYPE = "dense_vector" ;
49- public static short MAX_DIMS_COUNT = 500 ; //maximum allowed number of dimensions
49+ public static short MAX_DIMS_COUNT = 1024 ; //maximum allowed number of dimensions
5050 private static final byte INT_BYTES = 4 ;
5151
5252 public static class Defaults {
Original file line number Diff line number Diff line change 4646public class SparseVectorFieldMapper extends FieldMapper {
4747
4848 public static final String CONTENT_TYPE = "sparse_vector" ;
49- public static short MAX_DIMS_COUNT = 500 ; //maximum allowed number of dimensions
49+ public static short MAX_DIMS_COUNT = 1024 ; //maximum allowed number of dimensions
5050 public static int MAX_DIMS_NUMBER = 65535 ; //maximum allowed dimension's number
5151
5252 public static class Defaults {
You can’t perform that action at this time.
0 commit comments