Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
70e6e8d8
authored
Sep 25, 2017
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
some commands
parent
795afe69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
common/docs/elasticsearch-rest.txt
common/docs/elasticsearch-rest.txt
0 → 100644
View file @
70e6e8d8
# query less then date
curl -XPOST 'http://172.16.1.72:9200/activityidx/activity/_search' -d '{
"query": {
"range": {
"published": {
"lte": "now-90d"
}
}
}
}'
# delete by query
curl -XPOST 'http://172.16.1.72:9200/activityidx/activity/_delete_by_query' -d '{
"query": {
"range": {
"published": {
"lte": "now-90d"
}
}
}
}'
\ No newline at end of file
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