Skip to content

Commit e20feab

Browse files
author
Joan Fontanals Martinez
committed
fix: fix elastic v7 test
1 parent 46bcf5a commit e20feab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docarray/index/backends/elasticv7.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from docarray import BaseDoc
99
from docarray.index import ElasticDocIndex
10-
from docarray.index.abstract import BaseDocIndex, _ColumnInfo
10+
from docarray.index.abstract import BaseDocIndex
1111
from docarray.typing import AnyTensor
1212
from docarray.typing.tensor.ndarray import NdArray
1313
from docarray.utils.find import _FindResult
@@ -27,6 +27,8 @@ def __init__(self, db_config=None, **kwargs):
2727
)
2828

2929
super().__init__(db_config, **kwargs)
30+
self._index_vector_params = ('dims',)
31+
self._index_vector_options = ()
3032

3133
###############################################
3234
# Inner classes for query builder and configs #

0 commit comments

Comments
 (0)