File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -398,8 +398,8 @@ func (qs *queryState) handleValuePostings(ctx context.Context, args funcArgs) er
398398 fcs := & pb.FacetsList {FacetsList : make ([]* pb.Facets , 0 )} // TODO Figure out how it is stored
399399
400400 if ! pickMultiplePostings {
401- pl , err := qs .cache .GetSinglePosting (key )
402- if pl == nil || err == posting . ErrNoValue || err == badger . ErrKeyNotFound {
401+ pl , _ := qs .cache .GetSinglePosting (key )
402+ if pl == nil {
403403 out .UidMatrix = append (out .UidMatrix , & pb.List {})
404404 out .FacetMatrix = append (out .FacetMatrix , & pb.FacetsList {})
405405 out .ValueMatrix = append (out .ValueMatrix ,
@@ -410,9 +410,6 @@ func (qs *queryState) handleValuePostings(ctx context.Context, args funcArgs) er
410410 }
411411 continue
412412 }
413- if err != nil {
414- return err
415- }
416413 vals = make ([]types.Val , len (pl .Postings ))
417414 for i , p := range pl .Postings {
418415 vals [i ] = types.Val {
You can’t perform that action at this time.
0 commit comments