Page MenuHomePhabricator

Cannot find some Tasks using simple search
Open, LowPublicBUG REPORT

Assigned To
None
Authored By
valerio.bozzolan
Mar 30 2022, 1:56 PM
Referenced Files
F35649258: phabricator_search_servers.png
Oct 28 2022, 1:15 PM
F35031517: Screenshot_2022_03_31_102240.png
Mar 31 2022, 8:27 AM
F35030157: Screenshot_2022_03_30_155117.png
Mar 30 2022, 1:56 PM
F35030160: Screenshot_2022_03_30_155251.png
Mar 30 2022, 1:56 PM
Tokens
"Baby Tequila" token, awarded by valerio.bozzolan.

Description

I'm not able to find a specific Task using the Phabricator search form.

Description of the problem

Searching error in Wikimedia Phabricator and setting a Tag, I cannot find a specific result. Live example:

https://phabricator.wikimedia.org/search/query/ULASybUwkKer/

{F35646873}

This result is not listed:

Additional notes

Note that searching "kawabonga" in phab.wmflabs.org shows a Task with "wakabonga" in the title.

In this case, it works but I noticed that the matching text is not underlined. Live example:

https://phab.wmflabs.org/search/query/XErADOQikRq0/#R

Screenshot_2022_03_31_102240.png (709×1 px, 70 KB)


Note that searching "stupid" in another Phabricator shows a Task with "stupid" in the title.

In this case, it works and I noticed that the matching text is underlined. Live example:

https://gitpull.it/search/query/YBLujDebuzTP/#R

Screenshot_2022_03_30_155251.png (718×1 px, 57 KB)


I've read the official Phabricator search documentation and I've also tried title:error, title:~error, core:error and other weird combinations without understanding why Wikimedia Phabricator does not work when using the keyword "error" to find the Task T304193.

So it seems a problem in Wikimedia Phabricator (production) and not Phabricator itself.

Event Timeline

Aklapper edited projects, added Phabricator (Search); removed Phabricator.

Indeed; the proper Maniphest search at https://phabricator.wikimedia.org/maniphest/query/IReCdyJDn.xF/#R also does not list any results

valerio.bozzolan renamed this task from Cannot search by Task title in some cases to Cannot find some Tasks using simple search.Oct 28 2022, 9:37 AM
valerio.bozzolan updated the task description. (Show Details)
hashar subscribed.

Elasticsearch since Phabricator uses that as backend:

hieradata/role/eqiad/phabricator.yaml
phabricator_cluster_search:
  - type: 'elasticsearch'
    path: '/phabricator'
    port: 9243
    version: 5
    hosts:
      - protocol: 'https'
        host: 'search.svc.eqiad.wmnet'
        roles:
          read: true
          write: true

We had a task to verify compatibility with ElasticSearch 7.10 then T303445#7807237 states Phabricator uses MySQL. From https://phabricator.wikimedia.org/config/cluster/search/ :

phabricator_search_servers.png (326×535 px, 24 KB)

@valerio.bozzolan: Did you intentionally set yourself as task assignee?

Aklapper changed the subtype of this task from "Task" to "Bug Report".Apr 25 2023, 9:12 AM