https://gist.github.com/ricardo-rossi/8265589463915837429d
I found this script, and I use it to install, just use $ elasticsearch.sh 1.5.0
you can use $ curl "http://localhost:9200/"
to check whether your installation is successful.
use apt-get
input 5 | |
output: | |
* | |
*** | |
***** | |
******* | |
********* |
https://gist.github.com/ricardo-rossi/8265589463915837429d
I found this script, and I use it to install, just use $ elasticsearch.sh 1.5.0
you can use $ curl "http://localhost:9200/"
to check whether your installation is successful.
use apt-get
var queryMatch = function (doc, query) { | |
return Object.keys(query).every(function(name) { | |
return propertyMatch(doc, name, query[name]) | |
}) | |
} | |
var propertyMatch = function (doc, name, prop) { | |
return Object.keys(prop).every(function(op) { | |
switch(op) { | |
case '$eq': |
// # 1 | |
console.log("HELLO WORLD"); |
http { | |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
proxy_temp_path /var/tmp; | |
upstream sayit_upstream { | |
server 127.0.0.1:8000; | |
keepalive 64; | |
} | |
server { |
<akomaNtoso><debate><meta><references><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/黃偉哲" id="黃偉哲" showAs="黃偉哲"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/高志鵬主席" id="高志鵬主席" showAs="高志鵬主席"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/陳主任保基" id="陳主任保基" showAs="陳主任保基"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/黃副局長國青" id="黃副局長國青" showAs="黃副局長國青"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/李惠仁先生" id="李惠仁先生" showAs="李惠仁先生"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/張局長峰義" id="張局長峰義" showAs="張局長峰義"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/蘇震清" id="蘇震清" showAs="蘇震清"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/丁守中" id="丁守中" showAs="丁守中"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/李慶華" id="李慶華" showAs="李慶華"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/黃所長金城" id="黃所長金城" showAs="黃所長金城"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety. |
<akomaNtoso><debate><meta><references><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/段宜康" id="段宜康" showAs="段宜康"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/紀國棟主席" id="紀國棟主席" showAs="紀國棟主席"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/賴主任幸媛" id="賴主任幸媛" showAs="賴主任幸媛"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/吳育昇" id="吳育昇" showAs="吳育昇"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/高副董事長兼秘書長孔廉" id="高副董事長兼秘書長孔廉" showAs="高副董事長兼秘書長孔廉"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/江啟臣" id="江啟臣" showAs="江啟臣"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/黃文玲" id="黃文玲" showAs="黃文玲"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/劉副主任德勳" id="劉副主任德勳" showAs="劉副主任德勳"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/李俊俋" id="李俊俋" showAs="李俊俋"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/陳其邁代主席(陳委員其邁代)" id="陳其邁代主席(陳委員其邁代)" showAs="陳其邁代主席(陳委員其邁代)"/><TLCPerson href="/ |
<akomaNtoso><debate><meta><references><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/蔡煌瑯" id="蔡煌瑯" showAs="蔡煌瑯"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/林郁方主席" id="林郁方主席" showAs="林郁方主席"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/楊部長進添" id="楊部長進添" showAs="楊部長進添"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/陳鎮湘" id="陳鎮湘" showAs="陳鎮湘"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/蕭美琴" id="蕭美琴" showAs="蕭美琴"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/林郁方" id="林郁方" showAs="林郁方"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/詹凱臣代主席" id="詹凱臣代主席" showAs="詹凱臣代主席"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/詹凱臣" id="詹凱臣" showAs="詹凱臣"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/賴士葆" id="賴士葆" showAs="賴士葆"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/陳亭妃" id="陳亭妃" showAs="陳亭妃"/><TLCPerson href="/ontology/person/lytest.sayit.mysociety.org/馬文君" id="馬文君" |
[ | |
{ | |
"conversations": [ | |
{ | |
"phrases": [ | |
{ | |
"speaker": "蔡煌瑯", | |
"speech": "主席、各位列席官員、各位同仁。美國國土安全部代表團昨天才要來,前天晚上馬政府就立即開放美國牛肉瘦肉精進口,時間上的巧合讓我們聯想到這是給美國國土安全部代表團的大禮物。也就是說,我們早已承諾要讓美國牛肉進口。上個月薄瑞光來台灣,這個月美國國土安全部代表團也要到台灣,這些都是壓力團。因為馬英九受不了美國的壓力,所以就用我們國民的健康換取美國免簽證,對不對?\n" | |
}, | |
{ |
FROM ubuntu:14.04 | |
MAINTAINER Yuanhsiang Cheng <[email protected]> | |
RUN apt-get install -y software-properties-common | |
RUN add-apt-repository ppa:kurento/kurento | |
RUN apt-get install -y wget | |
RUN wget -O - http://ubuntu.kurento.org/kurento.gpg.key | apt-key add - | |
RUN apt-get update | |
RUN apt-get install -y kurento-media-server |