Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

search url returns 404

未关闭
#36 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
backend, search

调研方向

首先在 /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

image

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&timestamp=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

image

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

image

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 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dropbox/hackpad 的其他 Issue

查看 dropbox/hackpad 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。