search url returns 404
还没有人认领这个 Issue。
评估
调研方向
首先在 /ep/search/?q=test 重现报告的 404,并将其与正常工作的 /ep/search/autocomplete 和 /ep/search/search_live 端点进行比较。跟踪 /ep/search 入口点,并验证打开搜索 URL 时返回的是结果而不是 404。
由索引模型根据 Issue 内容生成。
描述
Hi!
For some reason nothing happens at the main page while entering something in the search field, although the url changed accordinly (i.e. http://site/ep/search/?q=searchword). it is understandable since direct opening this url returns 404 error:
hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:08:51:53 -0800] "GET /ep/search/?q=test HTTP/1.0" 404 15395 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 86

at the same time, live search at some pad is working fine:
hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:09:01:13 -0800] "GET /ep/search/autocomplete?q=test&limit=8×tamp=1447434074040 HTTP/1.0" 200 152 "https://hp.treatface.ru/Welcome-to-Hackpad-IsBor2DFgrM" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 44

and url search_live is OK too (although these results are not for direct opening):
hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:09:04:46 -0800] "GET /ep/search/search_live?q=test HTTP/1.0" 200 12385 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 91

while googling I found exactly the same problem at the hackpad.com itself which was solved somehow even before this repository was created here at github: https://twitter.com/jasonkotenko/status/596078472373608448
this is my environment:
a48@scan-mail:/usr/local/hackpad$ uname -a
Linux scan-mail 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u5 x86_64 GNU/Linux
a48@scan-mail:/usr/local/hackpad$ java -version
java version "1.6.0_36"
OpenJDK Runtime Environment (IcedTea6 1.13.8) (6b36-1.13.8-1~deb7u1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
thanks!
- 主要语言
- Java
- 星标
- 3.6k
- 派生
- 519
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dropbox/hackpad 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
`timer` rule rejects dates the engine accepts可能已有人在做 @MFA-G 今天认领。 未关闭bug ready
难度 2/5 1-3 小时 新手友好度 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · 3 条评论 ·
维护者通常 1 天内回复
-
status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
AOT compilation fails for derived delete queries returning Set可能已有人在做 @ryujungkyun 今天认领。 未关闭status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 72/100
spring-projects/spring-data-jpa#4387 ·
维护者通常 3 天内回复