Sphinx在使用的时候报错Query failed: index xxxx: sort-by attribute 'xxxx' not found。第一个xxxx是索引的名称,第二个xxxx是字段的名称。 出现这个问题的原因是:在索引中没有查找到要排序检索的字段。 但是奇怪的是明明在创建索引文件的 ...
分类:
其他好文 时间:
2020-05-18 01:00:58
阅读次数:
71
历史背景说明网址: https://www.kancloud.cn/csnikey/fepro-guide/943173 前言 在大前端的趋势下,原来的切图仔或者说前端工程师已经不能承载实际需要,在开发以及调试中,我们需要一系列的方案来让我们的项目变得优化,规范,可配置等。本文就这方面做简单分析,并 ...
分类:
其他好文 时间:
2020-05-18 00:33:52
阅读次数:
59
题目链接 做题情况:100% + 100% + 50% + 0%, 43分, 1935名 第一题:m序列的个数(连续m个递减且最后一个为1),n<2e5 思路:用dp记录递减序列的长度 #include<bits/stdc++.h> using namespace std; const int ma ...
分类:
其他好文 时间:
2020-05-17 23:13:09
阅读次数:
136
部署controller-manager 在10.4.7.21和10.4.7.22服务器上 一、创建启动脚本 vi /opt/kubernetes/server/bin/kube-controller-manager.sh #!/bin/sh ./kube-controller-manager \ ...
分类:
其他好文 时间:
2020-05-17 20:36:24
阅读次数:
102
网址: https://blog.csdn.net/mononoke111/article/details/91924002?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.none ...
分类:
其他好文 时间:
2020-05-17 20:33:47
阅读次数:
127
Mongodb正则$regex 正则能帮助我们实现一些复杂的查询,mongodb中实现正也很简单 https://docs.mongodb.com/manual/reference/operator/query/regex/index.html 查询格式 { <field>: { $regex: / ...
分类:
数据库 时间:
2020-05-17 19:20:42
阅读次数:
87
扫描发现www.zip和login.php,访问www.zip获得index.php的代码: <?php header('Content-type:text/html; charset=utf-8'); error_reporting(0); if(isset($_POST['login'])){ ...
分类:
其他好文 时间:
2020-05-17 19:20:29
阅读次数:
63
解决办法: 更新sklearn库 具体方法: 1.打开anaconda下的anaconda的Promote 2.输入 pip list 可以查看当前已经安装的包和版本 3.更新sklearn: 输入”conda update scikit-learn” 参考: https://blog.csdn.n ...
分类:
Web程序 时间:
2020-05-17 17:55:46
阅读次数:
208
hive安装包conf/hive-site.xml 增加如下配置: <property> <name>hive.cli.print.header</name> <value>true</value> <description>Whether to print the names of the col ...
分类:
其他好文 时间:
2020-05-17 16:17:36
阅读次数:
97
准备工作 创建一个 Spring 应用程序 在项目中添加 Spring JDBC 指定的最新的库 mysql connector java.jar, org.springframework.jdbc.jar org.springframework.transaction.jar。 创建 DAO 接口 ...
分类:
数据库 时间:
2020-05-17 16:10:32
阅读次数:
67