File tree 2 files changed +2
-2
lines changed
modules/mapper-extras/src/main/java/org/elasticsearch/index/mapper
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 46
46
public class DenseVectorFieldMapper extends FieldMapper implements ArrayValueMapperParser {
47
47
48
48
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
50
50
private static final byte INT_BYTES = 4 ;
51
51
52
52
public static class Defaults {
Original file line number Diff line number Diff line change 46
46
public class SparseVectorFieldMapper extends FieldMapper {
47
47
48
48
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
50
50
public static int MAX_DIMS_NUMBER = 65535 ; //maximum allowed dimension's number
51
51
52
52
public static class Defaults {
You can’t perform that action at this time.
0 commit comments