Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractElasticsearchIndex - Class in org.opencastproject.elasticsearch.impl
-
A search index implementation based on ElasticSearch.
- AbstractElasticsearchIndex() - Constructor for class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
- AbstractElasticsearchQueryBuilder<T> - Class in org.opencastproject.elasticsearch.impl
-
Opencast implementation of the elastic search query builder.
- AbstractElasticsearchQueryBuilder(T) - Constructor for class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Creates a new elastic search query based on the raw query.
- AbstractElasticsearchQueryBuilder.DateRange - Class in org.opencastproject.elasticsearch.impl
-
Utility class to hold date range specifications and turn them into elastic search queries.
- AbstractElasticsearchQueryBuilder.ValueGroup - Class in org.opencastproject.elasticsearch.impl
-
Stores a group of values which will later be added to the query using AND.
- AbstractSearchQuery - Class in org.opencastproject.elasticsearch.impl
-
Base implementation for search queries.
- AbstractSearchQuery() - Constructor for class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
Creates a search query that is executed on all document types.
- AbstractSearchQuery(String) - Constructor for class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
Creates a search query that is executed on the given document type.
- activate(Map<String, Object>, BundleContext) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
OSGi callback to activate this component instance.
- add(SearchMetadata<?>) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- add(T) - Method in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
- addAll(Collection<? extends SearchMetadata<?>>) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- addField(String, Object, boolean) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Adds the field and its value to the search index.
- additionalMultiQueryFields - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- addLocalizedValue(Language, T) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
Adds
valueto the list of language neutral values. - addResultItem(SearchResultItem<T>) - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
Adds the given search result item to the result set.
- addToText - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
True to add the values to the fulltext index
- addToText() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- addValue(T) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- and(String, Object...) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Stores
fieldValueas a search term on thefieldNamefield. - and(String, Date, Date) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Stores
fieldValueas a search term on thefieldNamefield.
B
- boost() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- boost(float) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- buildQuery(T) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- bulkUpdate(int, int, List<ElasticsearchDocument>) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Posts the input documents to the search index.
C
- clear() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
- clear() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- clear() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- close() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Closes the client.
- compareTo(SearchResultItem<T>) - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
- contains(Object) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- contains(T) - Method in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
- containsAll(Collection<?>) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
D
- delete(String, String, int, int) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Delete document from index.
- documentCount - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The total size of the search result set
- documentType - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the document type
E
- ELASTICSEARCH_PASSWORD_KEY - Static variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Configuration key defining the password of an external Elasticsearch server
- ELASTICSEARCH_SERVER_HOSTNAME_KEY - Static variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Configuration key defining the hostname of an external Elasticsearch server
- ELASTICSEARCH_SERVER_PORT_KEY - Static variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Configuration key defining the port of an external Elasticsearch server
- ELASTICSEARCH_SERVER_SCHEME_KEY - Static variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Configuration key defining the scheme (http/https) of an external Elasticsearch server
- ELASTICSEARCH_USERNAME_KEY - Static variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Configuration key defining the username of an external Elasticsearch server
- ElasticsearchDocument - Class in org.opencastproject.elasticsearch.impl
-
Document that encapsulates business objects and offers support for adding those objects to a search index.
- ElasticsearchDocument(String, String, List<SearchMetadata<?>>) - Constructor for class org.opencastproject.elasticsearch.impl.ElasticsearchDocument
-
Creates a new elastic search document based on the id, the document type and the metadata.
- equals(Object) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder.DateRange
- equals(Object) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder.ValueGroup
- equals(Object) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- equals(Object) - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
- executeQuery(SearchQuery, SearchRequest, Function<SearchMetadataCollection, T>, int, int) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Execute a query on the index.
F
- fields - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
The list of fields to return
- filter - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Filter expression
- filter - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
Filter terms
- fuzzy - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Fuzzy text query
- fuzzySearch - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
True if the search text should be matched using wildcards
G
- getClient() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
- getDocumentCount() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getDocumentType() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the document type that determines where the document is posted to the index.
- getDocumentTypes() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Returns an array of document types for the index.
- getFields() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getFilter() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getHitCount() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getIdentifier() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the document identifier.
- getIndexName() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Returns the name of this index.
- getIndexVersion() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
- getItems() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getLimit() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getLimit() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getLocalizedFieldName(String, Language) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the localized field name, which is the original field name extended by an underscore and the language identifier.
- getLocalizedValues() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- getMetadata() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the metadata as a list of
SearchMetadataitems. - getName() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- getName() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- getOffset() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getOffset() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getPage() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getPageSize() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getQuantifier() - Method in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
- getQuery() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Returns the original search query.
- getQuery() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getQueryString() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getRelevance() - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
- getSearchRequest(SearchQuery, QueryBuilder) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Creates a request for a search query based on the properties known by the search query.
- getSearchTime() - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
- getSortOrder(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getSortOrders() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getSource() - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
-
Returns the search result's source.
- getSubIndexIdentifier(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Returns the name of the sub index for the given type.
- getTerms() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getTerms() - Method in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
- getTermsForField(String, String) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Returns all the known terms for a field (aka facets).
- getTotalHits(SearchHits) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
- getType() - Method in class org.opencastproject.elasticsearch.impl.ElasticsearchDocument
-
Returns the document type.
- getTypes() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- getUID() - Method in class org.opencastproject.elasticsearch.impl.ElasticsearchDocument
-
Returns the identifier.
- getValue() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- getValues() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- getWriteableName() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- groups - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Fields that need to match all values
H
- hashCode() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder.DateRange
- hashCode() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder.ValueGroup
- hashCode() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- hashCode() - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
- hitCount - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The total number of appearances of the search criteria
I
- identifier - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the document identifier
- IndexSchema - Interface in org.opencastproject.elasticsearch.impl
-
Standard fields for an Elasticsearch index.
- indexSettingsPath - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
The path to the index settings
- init(int) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Initializes an Elasticsearch node for the given index.
- isEmpty() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- isFragment() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- isFuzzySearch() - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- isLocalized() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- isTest() - Static method in class org.opencastproject.elasticsearch.impl.TestUtils
-
Returns
trueif a test is currently going on. - iterator() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
L
- limit - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
The query limit
- limit - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The search limit
- localizedValues - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
Localized values
M
- metadata - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
The metadata
- modified(Map<String, Object>) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
OSGi callback for configuration changes.
N
- name - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
The name of this metadata item
O
- offset - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
The query offset
- offset - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The search offset
- org.opencastproject.elasticsearch.impl - package org.opencastproject.elasticsearch.impl
Q
- quantifier - Variable in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
-
The quantifier
- query - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The query that led to this search result
- queryName() - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- queryName(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
R
- remove(Object) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- removeAll(Collection<?>) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- result - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The search result
- retainAll(Collection<?>) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- rewrite(QueryRewriteContext) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
S
- score - Variable in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
-
Score within the search result
- SearchMetadataCollection - Class in org.opencastproject.elasticsearch.impl
-
Wrapper that facilitates in posting business objects to the search index.
- SearchMetadataCollection(String) - Constructor for class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Creates a new resource metadata collection for the given document type.
- SearchMetadataCollection(String, String) - Constructor for class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Creates a new resource metadata collection for the given document type.
- SearchMetadataImpl<T> - Class in org.opencastproject.elasticsearch.impl
-
Default implementation for the
SearchMetadata. - SearchMetadataImpl(String) - Constructor for class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
Creates a new metadata item with the given name.
- SearchResultImpl<T> - Class in org.opencastproject.elasticsearch.impl
-
Base implementation for a search result.
- SearchResultImpl(SearchQuery, long, long) - Constructor for class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
Creates a search result that was created using the given query.
- SearchResultItemImpl<T> - Class in org.opencastproject.elasticsearch.impl
-
Default implementation of a
SearchResultItem. - SearchResultItemImpl(double, T) - Constructor for class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
-
Creates a new search result item with the given uri.
- SearchTermsImpl<T> - Class in org.opencastproject.elasticsearch.impl
-
Implementation of a list of search terms.
- SearchTermsImpl(SearchTerms.Quantifier, T...) - Constructor for class org.opencastproject.elasticsearch.impl.SearchTermsImpl
-
Creates a list of search terms, to be queried using the given quantifier.
- setAddToText(boolean) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- setDocumentCount(long) - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
Sets the document count.
- setIdentifier(String) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Sets the document identifier.
- setRelevance(double) - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
-
Sets the relevance value, representing the score in the search result.
- setSearchTime(long) - Method in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
Sets the search time in milliseconds.
- size() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- size() - Method in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
- SORT_FIELD_NAME_EXTENSION - Static variable in interface org.opencastproject.elasticsearch.impl.IndexSchema
-
Extension for sort field names
- sortOrderFieldName(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- source - Variable in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
-
Source of the search result
- startTesting() - Static method in class org.opencastproject.elasticsearch.impl.TestUtils
-
Enables testing by setting a system property.
T
- terms - Variable in class org.opencastproject.elasticsearch.impl.SearchTermsImpl
-
The search terms
- TestUtils - Class in org.opencastproject.elasticsearch.impl
-
Utility class containing a few helper methods.
- text - Variable in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
-
Text query
- text - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
Query terms
- TEXT - Static variable in interface org.opencastproject.elasticsearch.impl.IndexSchema
-
Accumulative text field
- time - Variable in class org.opencastproject.elasticsearch.impl.SearchResultImpl
-
The time it took to do the search in ms
- toArray() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- toArray(T[]) - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
- toMap() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataCollection
-
Returns the metadata keys and the metadata items as a map for convenient access of search metadata by key.
- toQuery(QueryShardContext) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- toString() - Method in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
- toString() - Method in class org.opencastproject.elasticsearch.impl.SearchResultItemImpl
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
- types - Variable in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
-
The document types
U
- update(int, int, ElasticsearchDocument) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchIndex
-
Posts the input document to the search index.
V
- ValueGroup(String, Object...) - Constructor for class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder.ValueGroup
-
Creates a new value group for the given field and values.
- values - Variable in class org.opencastproject.elasticsearch.impl.SearchMetadataImpl
-
Values
- VERSION - Static variable in interface org.opencastproject.elasticsearch.impl.IndexSchema
-
Version field name
W
- withField(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withFields(String...) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withFilter(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withLimit(int) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withOffset(int) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withSortOrder(String, SortCriterion.Order) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withText(boolean, String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withText(boolean, SearchTerms.Quantifier, String...) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withText(String) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- withTypes(String...) - Method in class org.opencastproject.elasticsearch.impl.AbstractSearchQuery
- writeTo(StreamOutput) - Method in class org.opencastproject.elasticsearch.impl.AbstractElasticsearchQueryBuilder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form