class
ElasticsearchPlugin extends Plugin
Instance Constructors
-
new
ElasticsearchPlugin(application: Application)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
_search(queryObj: XContentBuilder, index: String = nameOfIndex, from: Option[Int] = Some(0), size: Option[Int] = Some(maxResults)): (List[ResourceRef], Long)
-
def
accumulatePageResult(queryObj: XContentBuilder, user: Option[User], from: Int, size: Int, index: String = nameOfIndex): ElasticsearchResult
-
final
def
asInstanceOf[T0]: T0
-
def
checkResultPermissions(results: List[ResourceRef], user: Option[User]): List[ResourceRef]
-
var
client: Option[TransportClient]
-
def
clone(): AnyRef
-
-
-
def
connect(force: Boolean = false): Boolean
-
def
convertJsMappingToFields(json: JsObject, parentKey: Option[String] = None, targetObject: Option[String] = None, foundTarget: Boolean = false): List[String]
-
def
convertJsObjectToBuilder(builder: XContentBuilder, json: JsObject): XContentBuilder
-
def
createIndex(index: String = nameOfIndex): Unit
-
-
def
delete(id: String, docType: String = "clowder_object", index: String = nameOfIndex): Unit
-
def
deleteAll(idx: String = nameOfIndex): Unit
-
def
enabled: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
def
finalize(): Unit
-
-
def
getAutocompleteMetadataFields(query: String, index: String = nameOfIndex): List[String]
-
final
def
getClass(): Class[_]
-
def
getElasticsearchObjectMappings(): String
-
def
hashCode(): Int
-
-
def
index(section: Section, idx: Option[String]): Unit
-
def
index(file: File, idx: Option[String]): Unit
-
def
index(dataset: Dataset, recursive: Boolean, idx: Option[String]): Unit
-
def
index(collection: Collection, recursive: Boolean, idx: Option[String]): Unit
-
def
isEnabled(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
listTags(resourceType: String = "", index: String = nameOfIndex): Map[String, Long]
-
val
maxResults: Int
-
val
mustNotOperators: List[String]
-
val
mustOperators: List[String]
-
val
nameOfCluster: String
-
val
nameOfIndex: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
onStart(): Unit
-
def
onStop(): Unit
-
def
parseDouble(s: String): Option[Double]
-
def
parseMustNotOperators(builder: XContentBuilder, key: String, value: String, operator: String): XContentBuilder
-
def
parseMustOperators(builder: XContentBuilder, key: String, value: String, operator: String): XContentBuilder
-
def
prepareElasticJsonQuery(query: String, permitted: List[UUID], user: Option[User]): XContentBuilder
-
def
prepareElasticJsonQuery(query: List[JsValue], grouping: String): XContentBuilder
-
-
def
search(query: String, resource_type: Option[String], datasetid: Option[String], collectionid: Option[String], spaceid: Option[String], folderid: Option[String], field: Option[String], tag: Option[String], from: Option[Int], size: Option[Int], permitted: List[UUID], user: Option[User], index: String = nameOfIndex): ElasticsearchResult
-
def
search(query: List[JsValue], grouping: String, from: Option[Int], size: Option[Int], user: Option[User]): ElasticsearchResult
-
val
serverAddress: String
-
val
serverPort: Int
-
def
swapIndex(idx: String): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
wrapRegex(value: String, query_string: Boolean = false): String
Inherited from Plugin
Inherited from AnyRef
Inherited from Any
Elasticsearch plugin.