LuceneSupport

lightdb.lucene.LuceneSupport
trait LuceneSupport[D <: Document[D]] extends IndexSupport[D]

Attributes

Graph
Supertypes
trait IndexSupport[D]
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

Concrete methods

override def distanceFilter(field: IndexedField[GeoPoint, D], from: GeoPoint, distance: Length): Filter[D]

Attributes

Definition Classes
IndexSupport
override def doSearch[V](query: Query[D, V], context: SearchContext[D], offset: Int, limit: Option[Int], after: Option[PagedResults[D, V]]): IO[PagedResults[D, V]]

Attributes

Definition Classes
IndexSupport
override protected def indexDoc(doc: D, fields: List[IndexedField[_, D]]): IO[Unit]

Attributes

Definition Classes
IndexSupport

Inherited methods

protected def collection: AbstractCollection[D]

Attributes

Inherited from:
IndexSupport
def id(value: String): Id[D]

Attributes

Inherited from:
DocumentModel
def query: Query[D, D]

Attributes

Inherited from:
IndexSupport
override def reIndex(collection: AbstractCollection[D]): IO[Unit]

Attributes

Definition Classes
IndexSupport -> DocumentModel
Inherited from:
IndexSupport
def withSearchContext[Return](f: (SearchContext[D]) => IO[Return]): IO[Return]

Attributes

Inherited from:
IndexSupport

Concrete fields

val _id: LuceneIndex[Id[D], D]
lazy override val index: LuceneIndexer[D]