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' ...
mysql ERROR No. 1030: Got error 28 from storage engine
Disk is out of space [root@reyotest stat]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 231825...
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