<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57834>57834</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Call Hierarchy result is incomplete when using remote index
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          simon8233
      </td>
    </tr>
</table>

<pre>
    Hi everyone,

I not sure it's misconfiguration or bugs.

so I raise my question at here. hope someone can help me or give some suggestion

I used clangd-indexer to generate index file and deploy clangd remote index server in internal
environments

Everything is work until I use "Show Call Hierarchy" feature in VS Code.
(Find All References with remote index is **work and very fast , remote index is powerful and smoothly** )

I use Show Call Hierarchy button with Remote Index .

It seem clangd only refers opened file and show corresponding info.

but, when I build up background index is workable and can provide correct and all "Call Hierarchy" information.

I try to enable --log=verbose in remote index server and clangd process

request v1/Refs => OK: 48 result in 2ms
request v1/Lookup => OK 1 result in 0ms

It seems first request found correct references count
but, Lookup is incorrect result.. I not sure why clangd-indexer-server filter out references result

Very thanks for your reading.
anyone can help give some suggestion. I very appreciate it


It's sys information
Clangd / Clangd Remote index version : 14
Editor/LSP plugin: VScode + Clangd
Operating system: Linux u1804
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtVctu2zAQ_Br5srChV2TpoEPqtGjQAi0SIHdaWktsKFLlw67-vkvKTqzEgGFL5O7OcGa53qt2qr9zwCPqSUmM0l0UP0Tx_fz9CFJZME4jcBulWwMDN42SB945zSxXEpSGvevM5jrNKHgEzbhBGCb469CEUGahR40b6NWIYNSAhAgNk7QsRhjQF-v4cd4j2K6bM5eUnMEWGsFk1665bPEfarAKOpRInIipX4MDFwhMttDiKNR0TgCNg3qLMajp3PRCH4taMjFjoDxyreSA0ppr7K9eJdtz2QE3cFL6FZy0XEAgBVGaPvfqBDsmBHznxEY3_USrcEBmg4gSXp5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