org.ensime.indexer

SearchService

class SearchService extends ClassfileIndexer with FileChangeListener with SLF4JLogging

Provides methods to perform ENSIME-specific indexing tasks, receives events that require an index update, and provides searches against the index.

We have an H2 database for storing relational information and Lucene for advanced indexing.

Linear Supertypes
SLF4JLogging, FileChangeListener, ClassfileIndexer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SearchService
  2. SLF4JLogging
  3. FileChangeListener
  4. ClassfileIndexer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SearchService(config: EnsimeConfig, resolver: SourceResolver)(implicit actorSystem: ActorSystem, vfs: EnsimeVFS)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val backlogActor: ActorRef

  8. def baseReCreated(f: FileObject): Unit

    Definition Classes
    FileChangeListener
  9. def baseRegistered(): Unit

    Definition Classes
    FileChangeListener
  10. def baseRemoved(f: FileObject): Unit

    Definition Classes
    FileChangeListener
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def delete(files: List[FileObject]): Future[Int]

  13. def deleteInBatches(files: List[FileObject], batchSize: Int = 1000): Future[Int]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def extractSymbolsFromClassOrJar(file: FileObject): Future[List[FqnSymbol]]

  17. def fileAdded(f: FileObject): Unit

    Definition Classes
    SearchServiceFileChangeListener
  18. def fileChanged(f: FileObject): Unit

    Definition Classes
    SearchServiceFileChangeListener
  19. def fileRemoved(f: FileObject): Unit

    Definition Classes
    SearchServiceFileChangeListener
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findUnique(fqn: String): Option[FqnSymbol]

    only for exact fqns

  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def indexClassfile(file: FileObject): (RawClassfile, Set[FullyQualifiedName])

    file

    to index

    returns

    the parsed version of the classfile and FQNs referenced within

    Definition Classes
    ClassfileIndexer
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. lazy val log: Logger

    Definition Classes
    SLF4JLogging
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def persist(check: FileCheck, symbols: List[FqnSymbol], commitIndex: Boolean, boost: Boolean): Future[Int]

  31. def refresh(): Future[(Int, Int)]

    Indexes everything, making best endeavours to avoid scanning what is unnecessary (e.

    Indexes everything, making best endeavours to avoid scanning what is unnecessary (e.g. we already know that a jar or classfile has been indexed).

    returns

    the number of rows (removed, indexed) from the database.

  32. def refreshResolver(): Unit

  33. def searchClasses(query: String, max: Int): List[FqnSymbol]

    free-form search for classes

  34. def searchClassesMethods(terms: List[String], max: Int): List[FqnSymbol]

    free-form search for classes and methods

  35. def shutdown(): Future[Unit]

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SLF4JLogging

Inherited from FileChangeListener

Inherited from ClassfileIndexer

Inherited from AnyRef

Inherited from Any

Ungrouped