Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Elasticsearch Services
Search Doc Service
Commits
8ed07b40
Commit
8ed07b40
authored
Dec 08, 2020
by
Jonas Waeber
Browse files
Optimize imports
parent
f91d8a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/helpers/ElasticSearchWrapper.kt
View file @
8ed07b40
package
org.memobase.helpers
import
java.net.SocketTimeoutException
import
java.util.Properties
import
org.apache.http.HttpHost
import
org.apache.logging.log4j.LogManager
import
org.elasticsearch.ElasticsearchException
...
...
@@ -13,14 +15,10 @@ import org.elasticsearch.client.RestHighLevelClient
import
org.elasticsearch.client.core.CountRequest
import
org.elasticsearch.client.indices.GetIndexRequest
import
org.elasticsearch.common.unit.TimeValue
import
org.elasticsearch.index.query.QueryBuilders
import
org.elasticsearch.index.query.QueryBuilders.termQuery
import
org.elasticsearch.search.Scroll
import
org.elasticsearch.search.builder.SearchSourceBuilder
import
org.memobase.model.FacetContainer
import
java.net.SocketTimeoutException
import
java.util.*
import
org.elasticsearch.search.sort.SortBuilders
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment