services

ElasticsearchPlugin

class ElasticsearchPlugin extends Plugin

Elasticsearch plugin.

Linear Supertypes
Plugin, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticsearchPlugin
  2. Plugin
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticsearchPlugin(application: Application)

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 _search(queryObj: XContentBuilder, index: String = nameOfIndex, from: Int = 0, to: Int = 0): SearchResponse

    * Execute query

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. var client: Option[TransportClient]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val collections: CollectionService

  11. val comments: CommentService

  12. def connect(): Boolean

  13. def convertJsMappingToFields(json: JsObject): List[String]

    Take a JsObject and list all unique fields, excepting those in ignoredFields

  14. def convertJsObjectToBuilder(builder: XContentBuilder, json: JsObject): XContentBuilder

    Take a JsObject and parse into an XContentBuilder JSON object for Elasticsearch

  15. val datasets: DatasetService

  16. def delete(index: String, docType: String, id: String): Unit

    Delete an index

  17. def deleteAll: Unit

    Delete all indices

  18. def enabled: Boolean

    Definition Classes
    Plugin
  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. val files: FileService

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def flattenJson(js: JsValue, prefix: String = ""): JsObject

    Flatten json object to have a single level of key/values with dot notation for nesting

  24. def getAutocompleteFields(query: String, index: String = nameOfIndex): List[String]

    Traverse metadata field mappings to get unique list for autocomplete

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

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

    Definition Classes
    AnyRef → Any
  27. def index(esObj: Option[ElasticsearchObject], index: String = nameOfIndex): Unit

    Index document using an arbitrary map of fields.

  28. def index(file: File): Unit

    Reindex the given file.

  29. def index(dataset: Dataset, recursive: Boolean): Unit

    Reindex the given dataset, if recursive is set to true it will also reindex all files.

  30. def index(collection: Collection, recursive: Boolean): Unit

    Reindex the given collection, if recursive is set to true it will also reindex all datasets and files.

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. val mustNotOperators: List[String]

  33. val mustOperators: List[String]

  34. val nameOfCluster: String

  35. val nameOfIndex: String

  36. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  39. def onStart(): Unit

    Definition Classes
    ElasticsearchPlugin → Plugin
  40. def onStop(): Unit

    Definition Classes
    ElasticsearchPlugin → Plugin
  41. def parseDouble(s: String): Option[Double]

    Attempt to cast String into Double, returning None if not possible*

  42. def parseMustNotOperators(builder: XContentBuilder, key: String, value: String, operator: String): XContentBuilder

    Create appropriate search object based on operator

  43. def parseMustOperators(builder: XContentBuilder, key: String, value: String, operator: String): XContentBuilder

    Create appropriate search object based on operator

  44. def prepareElasticJsonQuery(query: String): XContentBuilder

    Convert search string into an Elasticsearch-ready JSON query object*

  45. def prepareElasticJsonQuery(query: List[JsValue]): XContentBuilder

    Convert list of search term JsValues into an Elasticsearch-ready JSON query object*

  46. def search(query: String, index: String = nameOfIndex): List[ResourceRef]

    Search using a simple text string

  47. def search(query: List[JsValue]): List[ResourceRef]

    Prepare and execute Elasticsearch query, and return list of matching ResourceRefs

  48. val serverAddress: String

  49. val serverPort: Int

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

    Definition Classes
    AnyRef
  51. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped