linux guru
Thursday, March 26, 2015
curl search elasticsearch
curl -XPOST 'http://10.0.1.152:9200/logstash-*/_search?pretty' -d '
{
"query": {
"filtered": {
"query": {
"query_string": {
"query": "*listing*"
}
}
}
},
"fields": [
"code",
"time_taken",
"uri_path"
], "from": 0,
"size": 1,
"sort": {
"_score": {
"order": "asc"
}
},
"explain": true
}
'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
gunzip: aaa.zip: unknown suffix -- ignored
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
transmission 403 unauthorized ip address
When trying to access transmission from web-browswer i got the message : 403: Forbidden Unauthorized IP Address. Either disable the IP ad...
No comments:
Post a Comment