Index

@native @JSType trait Index extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def _fields: Array[IIndexField]
def _idfCache: Array[Dictionary[String]]
def _ref: Array[String]
def add(doc: Any, emitEvent: Boolean): Unit
def corpusTokens: SortedSet[String]
def documentStore: Store[String]
def documentVector(documentRef: String): Vector
def eventEmitter: UndefOr[EventEmitter]
def field(fieldName: String, options: Any): Index
def idf(token: String): String
def load(serialisedData: Any): Index
def min: UndefOr[Double]
def off(eventName: String, handler: Function): Unit
def on(eventName: String, handler: Function): Unit
def on(eventName: String, eventName2: String, handler: Function): Unit
def on(eventName: String, eventName2: String, eventName3: String, handler: Function): Unit
def on(eventName: String, eventName2: String, eventName3: String, eventName4: String, handler: Function): Unit
def on(eventName: String, eventName2: String, eventName3: String, eventName4: String, eventName5: String, handler: Function): Unit
def ref(refName: String): Index
def remove(doc: Any, emitEvent: Boolean): Unit
def search(query: String): Array[IIndexSearchResult]
def toJSON(): Dynamic
def update(doc: Any, emitEvent: Boolean): Unit
def use(plugin: Function, args: Any*): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object