POST accounts/_doc
{
"id": 1,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST _bulk | |
| {"index": {"_index": "accounts2", "_id": "1"}} | |
| {"id": 1, "name": "AHMET", "surname": "MERT EKİNCİOĞLU", "iban": "TR910006200000100001234567", "balance": 15, "created_at": "2020-08-19T00:00:00Z"} | |
| {"index": {"_index": "accounts2", "_id": "2"}} | |
| {"id": 2, "name": "GÜLNAME", "surname": "KINDIR", "iban": "TR910006200000100001234568", "balance": 27, "created_at": "2020-08-19T00:00:00Z"} | |
| {"index": {"_index": "accounts2", "_id": "3"}} | |
| {"id": 3, "name": "SALİM", "surname": "İLTEMİZ", "iban": "TR910006200000100001234569", "balance": 54, "created_at": "2020-08-19T00:00:00Z"} | |
| {"index": {"_index": "accounts2", "_id": "4"}} | |
| {"id": 4, "name": "MÜBERRA", "surname": "GÜVEN MEŞE", "iban": "TR910006200000100001234570", "balance": 81, "created_at": "2020-08-19T00:00:00Z"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @since Apr 2023 | |
| * @author Haydar KULEKCI <haydarkulekci@gmail.com> | |
| */ | |
| namespace App\Providers; | |
| use Illuminate\Contracts\Support\DeferrableProvider; | |
| use Illuminate\Support\ServiceProvider; |
DELETE job-candidates
PUT job-candidates
{
"mappings": {
"properties": {
"name": {
"type": "keyword"
},
PUT testindex1
{
"mappings": {
"properties": {
"search": {
"properties": {
"query": {
"type": "percolator"
}
The clear, refreshing taste of tap water quenches my thirst on hot summer days.
Please make sure to filter the tap water before drinking it.
The tap in the kitchen was leaking, causing the water to drip incessantly.
After a long hike, we refilled our water bottles with tap water from the nearby fountain.
It's important to conserve tap water and use it wisely to protect our natural resources.
The tap water in this area has a slightly metallic taste, which can be off-putting to some people.
The plumber fixed the broken tap, ensuring a steady flow of water throughout the house.
My grandma always used to boil tap water before using it in cooking or drinking.
The city council implemented a new filtration system to improve the quality of tap water.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| def check_kinesis_stream_data(stream_name): | |
| # Create a Kinesis client using your AWS credentials | |
| kinesis_client = boto3.client('kinesis') | |
| # Get the shard iterator for the specified stream | |
| shard_response = kinesis_client.describe_stream(StreamName=stream_name) | |
| shard_id = shard_response['StreamDescription']['Shards'][0]['ShardId'] | |
| shard_iterator_response = kinesis_client.get_shard_iterator( |
GET idx_test/_search
{
"size": 0,
"aggs": {
"Lorem-ipsum-dolor-sit-amet--consectetur-adipiscing-elit--Fusce-lacinia-lacus-dignissim--sollicitudin-est-a--rhoncus-velit--Nulla-ut-tortor-at-diam-suscipit-vestibulum--Praesent-dignissim--tellus-sed-tempus-scelerisque--velit-ligula-vestibulum-ante--non-sodales-risus-elit-at-orci--Morbi-at-lectus-quam--Vivamus-mattis--enim-eget-congue-viverra--nulla-dui-fermentum-tortor--nec-scelerisque-libero-tortor-luctus-nisl--Pellentesque-vel-metus-venenatis--gravida-libero-feugiat--tincidunt-ligula-pharetra-Lorem-ipsum-dolor-sit-amet--consectetur-adipiscing-elit--Fusce-lacinia-lacus-dignissim--sollicitudin-est-a--rhoncus-velit--Nulla-ut-tortor-at-diam-suscipit-vestibulum--Praesent-dignissim--tellus-sed-tempus-scelerisque--velit-ligula-vestibulum-ante--non-sodales-risus-elit-at-orci--Morbi-at-lectus-quam--Vivamus-mattis--enim-eget-congue-viverra--nulla-dui-fermentum-tortor--nec-scelerisque-libero-tortor-luctus-nisl--Pellentesque-vel-metus-venenatis--gravida-libero-fe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream elasticsearch_upstream { | |
| server 10.10.10.10:9200; | |
| keepalive 15; | |
| } | |
| upstream kibana_upstream { | |
| server 127.0.0.1:5601; | |
| } | |
| # Kibana, public access, RO operations |
NewerOlder