net.caladesiframework.elastic.provider

ElasticProvider

case class ElasticProvider(nodeName: String, path: String, useHttpConnector: Boolean = false) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticProvider
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticProvider(nodeName: String, path: String, useHttpConnector: Boolean = false)

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. def addItem(indexName: String, itemType: String, id: String, dbValues: XContentBuilder, mappingUpdates: Option[XContentBuilder]): RefreshResponse

    Adds an item to the given index

    Adds an item to the given index

    indexName
    itemType
    id
    dbValues

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def countAll(indexName: String, itemType: String): Long

    Performs count request for given index/type combination

    Performs count request for given index/type combination

    indexName
    itemType
    returns

  10. def deleteIndex(indexName: String): Any

    Removes the index if present in health response

    Removes the index if present in health response

    indexName
    returns

  11. def ensureIndex[RecordType <: AnyRef](indexName: String, itemType: String, fieldMap: Map[String, AnyRef]): Any

    Generates index if not present in health response

    Generates index if not present in health response

    indexName
    itemType
    returns

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

    Definition Classes
    AnyRef
  13. def executeFacetFilterQuery(indexName: String, itemType: String, filterMap: Map[String, String], facets: List[String]): SearchResponse

    Executes a filtering search and returns the defined facets

    Executes a filtering search and returns the defined facets

    indexName
    itemType
    filterMap
    facets
    returns

  14. def executeFacetForFieldQuery(fieldName: String, indexName: String, itemType: String): TermsFacet

    Common facet query (get facets for a given field)

    Common facet query (get facets for a given field)

    fieldName
    returns

  15. def executeFilterQuery(indexName: String, itemType: String, filterMap: Map[String, String]): SearchResponse

    Filters search request by given fields and its values

    Filters search request by given fields and its values

    indexName
    itemType
    filterMap
    returns

  16. def executeFuzzyQuery(fieldName: String, queryTerm: String, indexName: String, itemType: String): SearchResponse

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getItemById(indexName: String, itemType: String, id: String): GetResponse

    Returns an item by given id

    Returns an item by given id

    indexName
    itemType
    id
    returns

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. val nodeName: String

  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. val path: String

  26. def removeItem(indexName: String, itemType: String, id: String): RefreshResponse

    Removes item from index

    Removes item from index

    indexName
    itemType
    id
    returns

  27. def shutdown: Unit

    Close elastic properly

  28. def startUp(): Node

    Setup

    Setup

    returns

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

    Definition Classes
    AnyRef
  30. val useHttpConnector: Boolean

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped