Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class DenseVectorFieldMapper extends FieldMapper implements ArrayValueMapperParser {

public static final String CONTENT_TYPE = "dense_vector";
public static short MAX_DIMS_COUNT = 500; //maximum allowed number of dimensions
public static short MAX_DIMS_COUNT = 1024; //maximum allowed number of dimensions
private static final byte INT_BYTES = 4;

public static class Defaults {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class SparseVectorFieldMapper extends FieldMapper {

public static final String CONTENT_TYPE = "sparse_vector";
public static short MAX_DIMS_COUNT = 500; //maximum allowed number of dimensions
public static short MAX_DIMS_COUNT = 1024; //maximum allowed number of dimensions
public static int MAX_DIMS_NUMBER = 65535; //maximum allowed dimension's number

public static class Defaults {
Expand Down