Untitled

 avatar
unknown
scala
2 years ago
504 B
6
Indexable
override type L =
    ("documents" := Documents) >>:
      ("positions" := Positions) >>: >>["indices" := Indices]

private val memL: GroupingPostingListSegment.L =
    ("documents"    := Values.Long * numberOfDocuments) >>:
      (("positions" := Values.Long * numberOfDocuments) >>:
        >>("indices" := Values.Long * (maxValueIdx + 1L)))
        
        
  val documentVh = memL / "documents" / % / $
  val positionVh = memL / "positions" / % / $
  val indicesVh = memL / "indices" / % / $        
Editor is loading...