Package

org.ensime.indexer

lucene

Permalink

package lucene

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. lucene
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait DocumentProvider[T] extends AnyRef

    Permalink
  2. trait DocumentRecovery[T] extends AnyRef

    Permalink
  3. trait DynamicSynonymAnalyzer extends Analyzer with SynonymEngine

    Permalink

    Analyzer that does no additional (not even lowercasing) other than the term itself and its synonyms.

  4. class DynamicSynonymFilter extends TokenFilter

    Permalink

    Splits tokens into synonyms at the same position, taking in a simple map from a String to a list of its synonyms (which doesn't need to contain the original token).

    Splits tokens into synonyms at the same position, taking in a simple map from a String to a list of its synonyms (which doesn't need to contain the original token).

    This has been heavily influenced by SynonymFilter from "Lucene in Action" and upgraded for Lucene 4 because bundled org.apache.lucene.analysis.synonym.SynonymFilter requires the mappings to be built up in advance.

    Apologies for all the mutable state: we're interacting with a mutable Java API.

  5. trait Entity extends Product

    Permalink
  6. abstract class EntityS[T <: Entity] extends Serializer[T]

    Permalink
  7. trait QueryProvider[T] extends AnyRef

    Permalink
  8. implicit class RichDocument extends AnyRef

    Permalink
  9. implicit class RichEntity[T <: Entity] extends AnyRef

    Permalink
  10. abstract class Serializer[T] extends DocumentProvider[T] with DocumentRecovery[T] with QueryProvider[T]

    Permalink
  11. class SimpleLucene extends SLF4JLogging

    Permalink

    Lightweight convenience wrapper over Lucene that does some sanity checking, sets up per-field Analyzers and gives access to CRUD-like operations.

    Lightweight convenience wrapper over Lucene that does some sanity checking, sets up per-field Analyzers and gives access to CRUD-like operations. Callers are expected to perform their own marshalling and unmarshalling for Lucene's Query and Document types.

    This class is thread safe. Only one instance is allowed **on the operating system** (not just the JVM) for the same path. Lucene manages a file lock to mitigate the risk of this happening.

    Technical note: Lucene is an excellent INDEX store, but is not a database. Prefer using the DatabaseProvider where possible and only fall back to using the index when SQL doesn't cut it. Excellent examples of using an index are for creating multiple representations of the same column, or for allowing allow/deny filtering rules based on tags.

Value Members

  1. object DynamicSynonymFilter

    Permalink
  2. object SimpleLucene

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped