IndexSupport

lightdb.index.IndexSupport
trait IndexSupport[D <: Document[D]] extends DocumentModel[D]

Attributes

Graph
Supertypes
trait DocumentModel[D]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Field[F] = IndexedField[F, D]

Attributes

Inherited from:
DocumentModel

Value members

Abstract methods

def doSearch(query: Query[D], context: SearchContext[D], offset: Int, after: Option[PagedResults[D]]): IO[PagedResults[D]]
def index: Indexer[D]
protected def indexDoc(doc: D, fields: List[IndexedField[_, D]]): IO[Unit]

Concrete methods

protected def collection: AbstractCollection[D]
def query: Query[D]
def withSearchContext[Return](f: (SearchContext[D]) => IO[Return]): IO[Return]

Inherited methods