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[V](query: Query[D, V], context: SearchContext[D], offset: Int, limit: Option[Int], after: Option[PagedResults[D, V]]): IO[PagedResults[D, V]]
def index: Indexer[D]
protected def indexDoc(doc: D, fields: List[IndexedField[_, D]]): IO[Unit]

Concrete methods

def distanceFilter(field: IndexedField[GeoPoint, D], from: GeoPoint, radius: Length): Filter[D]
def query: Query[D, D]
override def reIndex(collection: AbstractCollection[D]): IO[Unit]

Attributes

Definition Classes
def withSearchContext[Return](f: (SearchContext[D]) => IO[Return]): IO[Return]

Inherited methods

def id(value: String): Id[D]

Attributes

Inherited from:
DocumentModel