Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix(indexer): fix weight in indexer call
  • Loading branch information
Larryjianfeng committed Jul 24, 2019
1 parent fe7dd55 commit 2c6964837c4bc7387b0585d26b4f8ab5f80d3909
Showing with 1 addition and 0 deletions.
  1. +1 −0 gnes/proto/__init__.py
@@ -34,6 +34,7 @@ def index(data: List[bytes], batch_size: int = 0, *args, **kwargs):
for raw_bytes in pi:
d = req.index.docs.add()
d.raw_bytes = raw_bytes
d.weight = 1.0
yield req

@staticmethod

0 comments on commit 2c69648

Please sign in to comment.