#djangobb之views  show_forum(request, forum_id, full=True)

    default
16.00 ms (21 queries including 15 duplicates ) Query Timeline Time (ms) Action
-
SELECT
"djangobb_forum_forum"."id",
"djangobb_forum_forum"."category_id",
"djangobb_forum_forum"."name",
"djangobb_forum_forum"."position",
"djangobb_forum_forum"."description",
"djangobb_forum_forum"."updated",
"djangobb_forum_forum"."post_count",
"djangobb_forum_forum"."topic_count",
"djangobb_forum_forum"."last_post_id",
"djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."id" = ''
#查找id=1的forum Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(338)
forum = get_object_or_404(Forum, pk=forum_id) -
SELECT
"djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position"
FROM "djangobb_forum_category" WHERE "djangobb_forum_category"."id" = ''
#查找id=1的类别 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(339)
if not forum.category.has_access(request.user): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(339)
if not forum.category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT
"auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined"
FROM "auth_user" INNER JOIN "djangobb_forum_forum_moderators" ON ("auth_user"."id" = "djangobb_forum_forum_moderators"."user_id") WHERE "djangobb_forum_forum_moderators"."forum_id" = ''
#查找出该版块的所有版主 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(343)
request.user in forum.moderators.all() -
SELECT "djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position"
FROM "djangobb_forum_category" ORDER BY "djangobb_forum_category"."position" ASC Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(346)
for category in Category.objects.all(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT (1) AS "a" FROM "auth_group" INNER JOIN "djangobb_forum_category_groups" ON ("auth_group"."id" = "djangobb_forum_category_groups"."group_id") WHERE "djangobb_forum_category_groups"."category_id" = '' LIMIT 1
Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(347)
if category.has_access(request.user):
C:\djbb\mybb\djangobb_forum/models.py in has_access(80)
if self.groups.exists(): -
SELECT COUNT(*) AS "__count" FROM "djangobb_forum_topic" WHERE "djangobb_forum_topic"."forum_id" = '' Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(354)
'topics_page': get_page(topics, request, forum_settings.FORUM_PAGE_SIZE),
C:\djbb\mybb\djangobb_forum/util.py in get_page(40)
return Paginator(objects, size).page(request.GET.get('page', 1)) -
SELECT "djangobb_forum_topic"."id",
"djangobb_forum_topic"."forum_id",
"djangobb_forum_topic"."name",
"djangobb_forum_topic"."created",
"djangobb_forum_topic"."updated",
"djangobb_forum_topic"."user_id",
"djangobb_forum_topic"."views",
"djangobb_forum_topic"."sticky",
"djangobb_forum_topic"."closed",
"djangobb_forum_topic"."post_count",
"djangobb_forum_topic"."last_post_id",
"djangobb_forum_forum"."id",
"djangobb_forum_forum"."category_id",
"djangobb_forum_forum"."name",
"djangobb_forum_forum"."position",
"djangobb_forum_forum"."description",
"djangobb_forum_forum"."updated",
"djangobb_forum_forum"."post_count",
"djangobb_forum_forum"."topic_count",
"djangobb_forum_forum"."last_post_id",
"djangobb_forum_forum"."forum_logo",
"djangobb_forum_category"."id",
"djangobb_forum_category"."name",
"djangobb_forum_category"."position",
"auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined" FROM "djangobb_forum_topic" INNER JOIN "djangobb_forum_forum" ON ("djangobb_forum_topic"."forum_id" = "djangobb_forum_forum"."id") INNER JOIN "djangobb_forum_category" ON ("djangobb_forum_forum"."category_id" = "djangobb_forum_category"."id") INNER JOIN "auth_user" ON ("djangobb_forum_topic"."user_id" = "auth_user"."id") WHERE "djangobb_forum_topic"."forum_id" = '' ORDER BY "djangobb_forum_topic"."sticky" DESC, "djangobb_forum_topic"."updated" DESC LIMIT 4 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 34
{% for topic in topics_page %}
35
<tr>
36
<td class="tcl">
37
<div class="intd">
38
<div {% if topic.sticky %}class="sticky"{% else %}{% if topic.closed %}class="closed"{% else %}{% if topic|has_unreads:user %}class="inew"{% else %}class="icon"{% endif %}{% endif %}{% endif %}><div class="nosize"><!-- --></div></div> C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id",
"djangobb_forum_post"."topic_id",
"djangobb_forum_post"."user_id",
"djangobb_forum_post"."created",
"djangobb_forum_post"."updated",
"djangobb_forum_post"."updated_by_id",
"djangobb_forum_post"."markup",
"djangobb_forum_post"."body",
"djangobb_forum_post"."body_html",
"djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times. Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id",
"auth_user"."password",
"auth_user"."last_login",
"auth_user"."is_superuser",
"auth_user"."username",
"auth_user"."first_name",
"auth_user"."last_name",
"auth_user"."email",
"auth_user"."is_staff",
"auth_user"."is_active",
"auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_post"."id", "djangobb_forum_post"."topic_id", "djangobb_forum_post"."user_id", "djangobb_forum_post"."created", "djangobb_forum_post"."updated", "djangobb_forum_post"."updated_by_id", "djangobb_forum_post"."markup", "djangobb_forum_post"."body", "djangobb_forum_post"."body_html", "djangobb_forum_post"."user_ip" FROM "djangobb_forum_post" WHERE "djangobb_forum_post"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = ''
Duplicated 4 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 50
</td>
51
<td class="tc2">{{ topic.reply_count }}</td>
52
<td class="tc3">{{ topic.views }}</td>
53
<td class="tcr"><a href="{{ topic.last_post.get_absolute_url }}">{% forum_time topic.updated %}</a> <span class="byuser">{% trans "by" %} {{ topic.last_post.user.username }}</span></td>
54
</tr>
55
{% empty %}
56
<tr><td class="djangobbcon1" colspan="4">{% trans "Forum is empty." %}</td></tr>
57
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html
-
SELECT "djangobb_forum_forum"."id", "djangobb_forum_forum"."category_id", "djangobb_forum_forum"."name", "djangobb_forum_forum"."position", "djangobb_forum_forum"."description", "djangobb_forum_forum"."updated", "djangobb_forum_forum"."post_count", "djangobb_forum_forum"."topic_count", "djangobb_forum_forum"."last_post_id", "djangobb_forum_forum"."forum_logo" FROM "djangobb_forum_forum" WHERE "djangobb_forum_forum"."category_id" = '' ORDER BY "djangobb_forum_forum"."position" ASC
Duplicated 3 times.
0%
0.00 Connection: default C:\djbb\mybb\djangobb_forum/views.py in show_forum(358)
return render(request, 'djangobb_forum/forum.html', to_return) 79
<select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)">
80
{% for category in categories %}
81
<optgroup label="{{ category }}">
82
{% for forum in category.forums.all %}
83
<option value="{{ forum.id }}">{{ forum.name }}</option>
84
{% endfor %}
85
</optgroup>
86
{% endfor %} C:\djbb\mybb\djangobb_forum\templates\djangobb_forum\forum.html

djangobb之debug-toolbar查看其sql的更多相关文章

  1. 部署前准备--使用Mysql之Django Debug Toolbar安装以及配置

    python -c "import django ;print(django.__path__);" 查看python的全局配置 vi /usr/local/lib/python3 ...

  2. Django学习——图书相关表关系建立、基于双下划线的跨表查询、聚合查询、分组查询、F查询、Q查询、admin的使用、使用脚本调用Django、Django查看源生sql

    0 图书相关表关系建立 1.5个表 2.书籍表,作者表,作者详情表(垂直分表),出版社表,书籍和作者表(多对多关系) 一对一 多对多 本质都是一对多 外键关系 3.一对一的关系,关联字段可以写在任意一 ...

  3. 查询某库所有表的rows &查看当前sql的注册信息

    查询某库所有表的rows &查看当前sql的注册信息 1 2 3 4 5 6 7 select sobj.name,spar.rows FROM sys.objects sobj  INNER ...

  4. script:查看历史sql执行信息

    script:查看历史sql执行信息 SELECT *     FROM (SELECT '1.v$sql'||'实例号:'||GV$SQL.inst_id source,               ...

  5. SQLSERVER图片查看工具SQL Image Viewer5.5.0.156

    原文:SQLSERVER图片查看工具SQL Image Viewer5.5.0.156 SQLSERVER图片查看工具SQL Image Viewer5.5.0.156 在2013年某一次北京SQL ...

  6. MySQL - 查看慢SQL

    查看MySQL是否启用了查看慢SQL的日志文件 (1) 查看慢SQL日志是否启用 mysql> show variables like 'log_slow_queries'; +-------- ...

  7. Django之Django debug toolbar调试工具

    一.安装Django debug toolbar调试工具 pip3 install django-debug-toolbar 如果出错命令为 pip install django_debug_tool ...

  8. db2 性能查看top sql

    DB2 V10.3    查看top sql ,类似oracle 这篇文章是对之前有篇db2 v9的简化更新,总体还是觉得DB2TOP比较好用直观,不过需要导出SQL时,或自动化脚本时,还是建议执行S ...

  9. 查看慢sql语句

    查看慢sql语句 st.text AS SQL_Full --父级完整语句 ,) , ((CASE statement_end_offset THEN DATALENGTH(st.text) ELSE ...

  10. 【Django】Django Debug Toolbar调试工具配置

    正在发愁怎么调试Django,就遇到了Django Debug Toolbar这个利器. 先说遇到的问题: 网上也有教程,不过五花八门的,挨个尝试了一遍,也没有成功运行.最后终于找到问题所在: 从开发 ...

随机推荐

  1. 在linux下使用am335x的DMA

    [本文首发于cnblogs,作者:byeyear,Email:east3@163.com] 这几天在弄am3358的DMA,简化应用环境如下: am3358的FSMC接了一片FPGA: FPGA上接A ...

  2. Lucene suggest [转]

      The Big Data Zone is presented by Splunk, the maker of data analysis solutions such as Hunk, an an ...

  3. Android兼容包之MultiDex

    一.MultiDex的产生背景 当Android系统安装一个应用的时候,有一步是对Dex进行优化,这个过程有一个专门的工具来处理,叫DexOpt.DexOpt的执行过程是在第一次加载Dex文件的时候执 ...

  4. Unity3d- 资源

    Data与Resources文件夹一般只读文件放到Resources目录Data用于新建的文件或者要修改的文件============================================= ...

  5. 2.Linux技能要求

    Linux嵌入式工程师技能要求: 1.C语言                    具备C语言基础.理解C语言基础编程及高级编程,包括:数据类型.数组.指针.结构体.链表.文件操作.队列.栈.     ...

  6. 云中树莓派(4):利用声音传感器控制Led灯

    云中树莓派(1):环境准备 云中树莓派(2):将传感器数据上传到AWS IoT 并利用Kibana进行展示 云中树莓派(3):通过 AWS IoT 控制树莓派上的Led 云中树莓派(4):利用声音传感 ...

  7. web前端开发浅析

    原文地址:http://www.cnblogs.com/babyzone2004/articles/1807381.html 摘 要:前端开发作为一项新的领域,经历的时间随然较短,却显示了强大的生命里 ...

  8. go语言功能代码

    一.数据类型转换 package main import ( "fmt" "strconv" ) func main() { //int到string str ...

  9. CS229 1 .线性回归与特征归一化(feature scaling)

    线性回归是一种回归分析技术,回归分析本质上就是一个函数估计的问题(函数估计包括参数估计和非参数估计),就是找出因变量和自变量之间的因果关系.回归分析的因变量是应该是连续变量,若因变量为离散变量,则问题 ...

  10. solr系统query检索词特殊字符的处理

    solr是基于 lucence开发的应用,如果query中带有非法字符串,结果很可能是检索出所有内容或者直接报错,所以你对用户的输入必须要先做处理.输入星号,能够检索出所有内容:输入加号,则会报错. ...