摘要:假设模型名字为Book,字段有id,name(char),page_nums(int),publication_date(datatime), readcount(int), commentcount(int) 1.基础查询 2.模糊查询 3.范围,比较,空查询 4.日期查询 5.F对象与Q对象 6
阅读全文
posted @ 2019-05-26 18:13
05 2019 档案
摘要:假设模型名字为Book,字段有id,name(char),page_nums(int),publication_date(datatime), readcount(int), commentcount(int) 1.基础查询 2.模糊查询 3.范围,比较,空查询 4.日期查询 5.F对象与Q对象 6
阅读全文
posted @ 2019-05-26 18:13
摘要:ElasticSearch部署服务与配置 项目中遇到了需要大数据量的查询需求,原本使用的PostgreSQL在查询性能上不符合要求,于是就使用了ElasticSearch ElasticSearch的底层是使用java开发的,所以需要安装java的JDK 开始是将ElasticSearch通过drf
阅读全文
posted @ 2019-05-21 16:22
|
||