索引数据查询
连接:192.168.x.x user password
- /usr/local/bin/quest -d /opt/sports/search/v3 -b XM:XM “XM:tag_1000001” -m 50 | wc -l
连接192.168.x.x user password
cd /usr/local/sports/search/indexer/tools/
sudo vi checkindex.py
./checkindex.py /opt/sports/search/v3
redis
1、命令行
- 打开Xshell/redis客户端
- redis-cli -h 192.168.x.x -p 6379
- 常用命令
- SortedSet: zrevrange i:m:e:s:507 0 3
- SortedSet: range i:m:s:246 0 3 withscores
- Hash: hget key value
- String: get key
ZINCRBY rt:match_945:propertyfingers 10 135601920106960358
ZSCORE rt:match_945:propertyfingers
ZINCRBY rt:match_4191:propertyfingers 10 135601920068872069
ZREM rt:match_4191:propertyfingers 135601920068872069
这个是删除这个记录
2、 redis client客户端
- 按key查找
mongo
- db.history.remove({‘match_id’:32, ‘data.payload.type’: 1})
- db.getCollection(‘matchscore’).find({“match_id”:3932})
- db.getCollection(‘matchscore’).remove({“match_id”:3932})
- db.表名.find({})
- db.表名.remove({})
MySQL
jenkins打包shell脚本
currentData=`date '+%Y_%m_%d'`
currentTime=`date '+%H_%M_%S'`
mkdir -p ${WORKSPACE}/jenkins_ipas/$currentData
xcodebuild archive -workspace ${WORKSPACE}/Source/BFSports/BFSports.xcworkspace -scheme BFSports -configuration Release -archivePath ${WORKSPACE}/build_xcarchives/${BUILD_NUMBER}/BFSports.xcarchive
xcodebuild -exportArchive -archivePath ${WORKSPACE}/build_xcarchives/${BUILD_NUMBER}/BFSports.xcarchive -exportPath ${WORKSPACE}/jenkins_ipas/$currentData/BFSports_${BUILD_NUMBER}_$currentTime.ipa -exportFormat ipa -exportProvisioningProfile "baofengsports_iphone_adhoc"