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
| { | |
| "from": "0", | |
| "size": "25", | |
| "query": { | |
| "bool": { | |
| "must": [{ | |
| "filtered": { | |
| "query": { | |
| "custom_score": { | |
| "script": "_score >= 1 ? 100000000000 : 0", |
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
| object(Revinate\SharedBundle\Elasticsearch\Entity\GRM\GuestProperty)#247 (21) { | |
| ["id":protected]=> | |
| string(32) "4beb38bb055a079db06bb619e92cf956" | |
| ["propertyId":protected]=> | |
| int(360) | |
| ["city":protected]=> | |
| NULL | |
| ["firstName":protected]=> | |
| string(5) "Vinay" | |
| ["lastName":protected]=> |
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
| xdebug.collect_params=2 | |
| xdebug.default_enable=0 # do not enable by default | |
| # profiler config | |
| xdebug.profiler_output_dir=/var/log/xdebug | |
| xdebug.profiler_append=1 | |
| xdebug.profiler_enable=0 | |
| # trigger manually only | |
| xdebug.profiler_enable_trigger=1 | |
| xdebug.profiler_output_name=profile.%R.%t |
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
| $ sfconsole revinate:debug:daiyi --env=dev | |
| object(Revinate\SharedBundle\Elasticsearch\Entity\GRM\GuestProperty)#610 (22) { | |
| ["id":protected]=> | |
| string(32) "4beb38bb055a079db06bb619e92cf956" | |
| ["propertyId":protected]=> | |
| int(360) | |
| ["city":protected]=> | |
| string(9) "Sunnyvale" | |
| ["firstName":protected]=> | |
| string(5) "Vinay" |
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
| mysql> show processlist; | |
| +---------+----------+----------------------+---------+---------+------+-------+------------------+ | |
| | Id | User | Host | db | Command | Time | State | Info | | |
| +---------+----------+----------------------+---------+---------+------+-------+------------------+ | |
| | 4774850 | revinate | 10.208.236.14:45699 | inguest | Sleep | 1 | | NULL | | |
| | 4778642 | revinate | 10.208.236.14:50485 | inguest | Sleep | 1 | | NULL | | |
| | 4778655 | revinate | 10.208.230.201:59397 | inguest | Sleep | 2 | | NULL | | |
| | 4778661 | revinate | 10.208.236.14:50522 | inguest | Sleep | 2 | | NULL | | |
| | 4778689 | revinate | 10.208.234.88:59617 | inguest | Sleep | 1 | | NULL | | |
| | 4778694 | revinate | 10.208.234.88:59655 | inguest | Sleep | 2 | | NULL | |
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
| { | |
| "took": 6, | |
| "timed_out": false, | |
| "_shards": { | |
| "total": 20, | |
| "successful": 20, | |
| "failed": 0 | |
| }, | |
| "hits": { | |
| "total": 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
| { | |
| "_index": "grm", | |
| "_type": "guest_property", | |
| "_id": "5ea098ba43b11b8bd7b996067b0d2d83", | |
| "_score": 1, | |
| "_source": { | |
| "id": "5ea098ba43b11b8bd7b996067b0d2d83", | |
| "city": { | |
| "value": null | |
| }, |
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
| Run post request to http://10.208.200.102:9200/grm/guest_property/_search | |
| { | |
| "from": 0, | |
| "size": 0, | |
| "query": { | |
| "match_all": {} | |
| }, | |
| "aggs": { | |
| "interests": { | |
| "terms": { |
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
| ::: [inguest-es-02.stage.rpc][to1rWlMJQSSI2RCh3cE24A][inguest-es-02.stage.rpc.revinate.net][inet[/10.20.0.113:9300]]{max_local_storage_nodes=1, master=true} | |
| 26.6% (132.9ms out of 500ms) cpu usage by thread 'elasticsearch[inguest-es-02.stage.rpc][search][T#3]' | |
| 4/10 snapshots sharing following 19 elements | |
| org.apache.lucene.search.ScoreCachingWrappingScorer.score(ScoreCachingWrappingScorer.java:51) | |
| org.elasticsearch.common.lucene.MinimumScoreCollector.collect(MinimumScoreCollector.java:56) | |
| org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:185) | |
| org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:163) | |
| org.apache.lucene.search.BulkScorer.score(BulkScorer.java:35) | |
| org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:621) |
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
| #include "mbed.h" | |
| #include "N5110.h" | |
| #define TMP102_ADD 0X48 | |
| #define TMP102_R_ADD 0x91 | |
| #define TMP102_W_ADD 0x90 | |
| #define TEMP_REG 0x00 | |
| #define CONFIG_REG 0x01 | |
| #define THIGH_REG 0x02 |