Cannot index / search one file
まだ誰も着手していません。
評価
調査の方向性
まず、添付されたbadfileを使ってcindexとcsearchで報告内容を再現し、その後、それらのコマンドに関係するインデックス作成と検索のエントリポイントを追跡します。インデックス化された出力をgrepが返すテキストと比較します。既存のインデックス作成の動作を壊すことなく、「main」や「threads」のようなテキストをcsearchで見つけられれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What steps will reproduce the problem?
1. Index the attached file with cindex
2. Search for a pattern inside it
3. No hits
What is the expected output? What do you see instead?
repro$
repro$ cindex -reset
repro$ cindex badfile
2013/03/13 18:51:52 index /tmp/repro/badfile
2013/03/13 18:51:52 flush index
2013/03/13 18:51:52 merge 0 files + mem
2013/03/13 18:51:52 0 data bytes, 92 index bytes
2013/03/13 18:51:52 done
repro$ cindex -list
/tmp/repro/badfile
repro$
repro$
repro$
repro$ grep main badfile
libc.so.6 __libc_start_main
torch main
torch realmain(int, char**)
libglib-2.0.... g_main_context_iteration
libglib-2.0.... g_main_context_prepare
libglib-2.0.... g_main_context_dispatch
#85 0x00000032f5c38f0e in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#87 0x00000032f5c3ca3a in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#93 0x000000000040e74d in realmain(int, char**) ()
#94 0x000000000040e933 in main ()
repro$
repro$ csearch main <= no results here !!
repro$
repro$ grep threads badfile
============ All threads ==========
============ All threads ==========
repro$
repro$ csearch threads <= no results here !!
repro$
I cannot find (with csearch) text that is in a file I have indexed (cindex)
What version of the product are you using? On what operating system?
I'm using the Linux binaries that are available on the Download page.
I tried to compile go / codesearch but couldn't make it work (my go
install might be funky).
Please provide any additional information below.
It looks like the problem happens at indexing time.
Original issue reported on code.google.com by [email protected] on 14 Mar 2013 at 1:57
Attachments:
- 主要言語
- Go
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jmurzy/codesearch のほかの issue
-
auto-migrated Priority-Medium Type-Defect
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
jmurzy/codesearch#34 ·
-
auto-migrated Priority-Medium Type-Defect
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
jmurzy/codesearch#31 ·
-
auto-migrated Priority-Medium Type-Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 39/100
jmurzy/codesearch#37 ·
-
auto-migrated Priority-Medium Type-Defect
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
jmurzy/codesearch#38 ·
-
auto-migrated Type-Patch
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
jmurzy/codesearch#36 ·
jmurzy/codesearch の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
keyxmakerx/Chronicle#2285 ·
メンテナーはふだん 1 日以内に返信
-
vLLM metrics adapter tests start the adapter twice and race on its request counters対応中かも @bhargavchintam が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
llm-d/llm-d-inference-sim#933 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spellshift/realm#2509 ·
メンテナーはふだん 1 日以内に返信
-
bug effort:s impact:med raised-by:reviewer risk:med
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
medici-finance/assay#7108 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
peasant-labs/peasant#1099 ·
メンテナーはふだん 1 日以内に返信