Page MenuHomePhabricator
Feed Advanced Search

Sep 21 2017

epriestley created T12995: When search terms contain CJK characters, default to substring mode.
Sep 21 2017, 12:05 PM · Localization, Search

Sep 20 2017

epriestley added a comment to T12993: Datasource queries with many "JOIN ... LIKE" can have explosive complexity.

Some followup SHOW INDEXES from the case in PHI47 provided output which didn't have any evidence of key cardinality issues, so it seems less likely that this is a cardinality problem.

Sep 20 2017, 7:43 PM · Infrastructure, Typeahead, Search
epriestley created T12993: Datasource queries with many "JOIN ... LIKE" can have explosive complexity.
Sep 20 2017, 7:22 PM · Infrastructure, Typeahead, Search

Sep 15 2017

epriestley closed T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size as Resolved.

This has promoted to stable. See T12974 for upgrade guidance. See T12985 for one followup change. This may still have some bugs (or it may scale very differently on real-world workloads and need substantial additional work) but I think we can handle those separately.

Sep 15 2017, 5:16 PM · Restricted Project, Search
epriestley closed T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size, a subtask of T12974: Upgrading: "Ferret" Fulltext Engine, as Resolved.
Sep 15 2017, 5:16 PM · Installing & Upgrading, Search
epriestley added a parent task for T12985: Convert Conpherence fulltext search to the Ferret engine: T11741: Quickstart can fail to initialize databases if MyISAM is not available (currently, only in Google Cloud).
Sep 15 2017, 5:14 PM · Search, Conpherence
epriestley created T12985: Convert Conpherence fulltext search to the Ferret engine.
Sep 15 2017, 5:14 PM · Search, Conpherence

Sep 13 2017

epriestley added a comment to T12974: Upgrading: "Ferret" Fulltext Engine.

Very intresting update. Now we can search in projects code, as i see? Thanks for this supir dupir project guys)

Sep 13 2017, 2:03 PM · Installing & Upgrading, Search
saggid added a comment to T12974: Upgrading: "Ferret" Fulltext Engine.

Very intresting update. Now we can search in projects code, as i see? Thanks for this supir dupir project guys)

Sep 13 2017, 11:25 AM · Installing & Upgrading, Search

Sep 12 2017

epriestley renamed T12974: Upgrading: "Ferret" Fulltext Engine from Prototype: "Ferret" Fulltext Engine to Upgrading: "Ferret" Fulltext Engine.
Sep 12 2017, 4:14 PM · Installing & Upgrading, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 12 2017, 3:28 PM · Restricted Project, Search
epriestley updated the task description for T11932: Manual Activity: Rebuild Search Index.
Sep 12 2017, 3:25 PM · Search, Guides
epriestley closed T12443: Applying fulltext limits first causes missing results, a subtask of T12974: Upgrading: "Ferret" Fulltext Engine, as Resolved.
Sep 12 2017, 3:09 PM · Installing & Upgrading, Search
epriestley closed T12443: Applying fulltext limits first causes missing results as Resolved.

This is resolved by the Ferret engine, which can execute all parts of the query logic in MySQL.

Sep 12 2017, 3:09 PM · Restricted Project, Search, Bug Report
epriestley closed T6721: Would like ability to search tasks by title as Resolved.

This is resolved by the Ferret engine, using title:...:

Sep 12 2017, 3:08 PM · Search, Maniphest
epriestley closed T6721: Would like ability to search tasks by title, a subtask of T12974: Upgrading: "Ferret" Fulltext Engine, as Resolved.
Sep 12 2017, 3:08 PM · Installing & Upgrading, Search
epriestley closed T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index, a subtask of T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size, as Resolved.
Sep 12 2017, 3:07 PM · Restricted Project, Search
epriestley closed T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index as Resolved.

This is resolved by the Ferret engine:

Sep 12 2017, 3:07 PM · Customer Impact, Search
epriestley closed T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index, a subtask of T12974: Upgrading: "Ferret" Fulltext Engine, as Resolved.
Sep 12 2017, 3:07 PM · Installing & Upgrading, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 12 2017, 2:48 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 12 2017, 2:36 PM · Restricted Project, Search

Sep 11 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:45 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:43 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:38 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:31 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:29 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 11 2017, 11:21 PM · Restricted Project, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

From T12932, I don't think it's especially promising as a way forward, so I'm just going take an operations pathway instead (see T12978), so I expect to just move to unprototype the Ferret engine here.

Sep 11 2017, 11:05 PM · Restricted Project, Search
eadler added a comment to T12974: Upgrading: "Ferret" Fulltext Engine.

kind of sad this isn't called pherret

Sep 11 2017, 4:29 PM · Installing & Upgrading, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

The actual indexes are fairly large (3GB for ~500MB of task data, although lispum tasks have an exceptionally large amount of text).

Sep 11 2017, 12:31 PM · Restricted Project, Search
epriestley added a subtask for T12974: Upgrading: "Ferret" Fulltext Engine: T11741: Quickstart can fail to initialize databases if MyISAM is not available (currently, only in Google Cloud).
Sep 11 2017, 12:04 PM · Installing & Upgrading, Search

Sep 8 2017

epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

All the search which was previously driven by InnoDB FULLTEXT is now driven by the Ferret engine on this install.

Sep 8 2017, 5:57 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 8 2017, 4:13 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 8 2017, 3:16 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 8 2017, 3:08 PM · Restricted Project, Search

Sep 7 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 11:31 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 8:40 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 8:20 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 8:07 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 8:02 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 7:50 PM · Restricted Project, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

Here's a closer look at what's probably happening:

Sep 7 2017, 7:42 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 7:34 PM · Restricted Project, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

I briefly hit a bizarre case where a Ferret engine query took 10 seconds to find a document in 163 projects. However, running ANALYZE TABLE on the ngrams table resolved this completely. I suspect the ngrams join may require some tweaking (and maybe a bin/storage analyze). Analyzing the Maniphest table actually seems to improve performance by ~50% too (???) although that's not a very scientific measurement.

Sep 7 2017, 7:32 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 7:14 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 7:06 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 7:06 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 5:30 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 5:23 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 5:06 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 4:54 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 4:46 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 4:13 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 7 2017, 3:49 PM · Restricted Project, Search

Sep 6 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 6 2017, 7:30 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 6 2017, 7:15 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 6 2017, 5:50 PM · Restricted Project, Search

Sep 5 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 5 2017, 11:32 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 5 2017, 11:00 PM · Restricted Project, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

Unclear if building a search engine by just doing a lot of JOINs actually scales or not. Seems OK here.

Sep 5 2017, 7:47 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 5 2017, 5:34 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 5 2017, 4:48 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 5 2017, 4:30 PM · Restricted Project, Search

Sep 1 2017

epriestley added projects to T12974: Upgrading: "Ferret" Fulltext Engine: Search, Installing & Upgrading.
Sep 1 2017, 5:06 PM · Installing & Upgrading, Search
epriestley added a parent task for T6721: Would like ability to search tasks by title: T12974: Upgrading: "Ferret" Fulltext Engine.
Sep 1 2017, 5:06 PM · Search, Maniphest
epriestley added a parent task for T12443: Applying fulltext limits first causes missing results: T12974: Upgrading: "Ferret" Fulltext Engine.
Sep 1 2017, 5:06 PM · Restricted Project, Search, Bug Report
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Sep 1 2017, 4:22 PM · Restricted Project, Search

Aug 30 2017

epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

A prototype of this is now available on this server (secure.phabricator.com). You can access it in Maniphest by using the Query (Prototype) field instead of the Contains Words field.

Aug 30 2017, 7:49 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 5:13 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 4:55 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 4:29 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 3:40 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 2:40 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 30 2017, 2:11 PM · Restricted Project, Search
20after4 added a comment to T12965: When no "master" database is configured, the ElasticSearch setup check can fatal.

Whoops this is probably my bad :-/

Aug 30 2017, 1:07 PM · Database, Clusters, Search

Aug 29 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 29 2017, 6:40 PM · Restricted Project, Search

Aug 28 2017

epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 28 2017, 10:41 PM · Restricted Project, Search
epriestley added a revision to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Differential Revision.
Aug 28 2017, 9:35 PM · Restricted Project, Search
epriestley added a revision to T12443: Applying fulltext limits first causes missing results: Restricted Differential Revision.
Aug 28 2017, 9:35 PM · Restricted Project, Search, Bug Report

Aug 17 2017

epriestley added a revision to T12965: When no "master" database is configured, the ElasticSearch setup check can fatal: Restricted Differential Revision.
Aug 17 2017, 4:53 PM · Database, Clusters, Search
epriestley created T12965: When no "master" database is configured, the ElasticSearch setup check can fatal.
Aug 17 2017, 4:41 PM · Database, Clusters, Search

Aug 12 2017

epriestley added a subtask for T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index.
Aug 12 2017, 10:44 AM · Restricted Project, Search
epriestley added a parent task for T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index: T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.
Aug 12 2017, 10:44 AM · Customer Impact, Search

Aug 4 2017

epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

PHI27 is likely adjacent here.

Aug 4 2017, 11:40 AM · Restricted Project, Search

Aug 2 2017

epriestley added a revision to T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index: Restricted Differential Revision.
Aug 2 2017, 11:03 PM · Customer Impact, Search

Jul 20 2017

epriestley added a revision to T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index: Restricted Differential Revision.
Jul 20 2017, 4:10 PM · Customer Impact, Search

Jul 19 2017

epriestley created T12928: Tokens in the form "v0.1" are not handled well by the MySQL FULLTEXT index.
Jul 19 2017, 3:08 PM · Customer Impact, Search

Jul 18 2017

20after4 added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

For phabricator.wikimedia.org, we decided to go with elasticsearch, partially because we already have a massive elasticsearch cluster and a lot of institutional elasticsearch knowledge / experience. My opinion is that we made the right choice. I believe this opinion is shared by most of the folks who use our phabricator on a daily basis. I've seen zero complaints about search since we made the switch, which is a huge improvement from what I saw with mysql FTS. Conclusion: Elasticsearch seems to perform well and the results are generally better (obviously this is subjective, but like I said, no complaints from users)

Jul 18 2017, 1:55 AM · Restricted Project, Search

Jun 28 2017

alexmv added a project to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size: Restricted Project.

#dropbox has also encountered this since upgrading from MySQL 5.5 to MySQL 5.7, and thus an InnoDB FTS backend.

Jun 28 2017, 5:26 AM · Restricted Project, Search

Jun 12 2017

epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

Some other general thoughts:

Jun 12 2017, 4:49 PM · Restricted Project, Search

Jun 10 2017

epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

I suspect some of those features have no actual use case outside very marginal nonsense like T12799, but they're "things computers should be able to do".

Jun 10 2017, 12:24 AM · Restricted Project, Search
epriestley added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

I want to get clear of T12798 first, but there are some other features I'd like to add to our search anyway, including:

Jun 10 2017, 12:23 AM · Restricted Project, Search
chad added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

@20after4's ears were burning

Jun 10 2017, 12:13 AM · Restricted Project, Search
20after4 added a comment to T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.

:(

Jun 10 2017, 12:12 AM · Restricted Project, Search
epriestley created T12819: InnoDB FULLTEXT appears to fail catastrophically once it reaches a moderate size.
Jun 10 2017, 12:06 AM · Restricted Project, Search

Jun 3 2017

• sshannin added a comment to T12493: Upgrading: Fulltext Search Services.

Slightest of issues with the repository indexing mentioned above:

luca:~/phabricator$ ./bin/search index --type repository --force
Usage Exception: Type "repository" matches multiple indexable objects. Use a more specific string. Matching object types are: PhabricatorRepository, PhabricatorRepositoryCommit.
luca:~/phabricator$
Jun 3 2017, 3:52 PM · Elasticsearch, Search, Guides

May 22 2017

20after4 added a comment to T8646: Provide more context for search results, particularly wiki documents.

FWIW I partially implemented this in Wikimedia's fork, and I did so in a reusable way. I'd like to eventually upstream it but I'm not sure that my approach is desired upstream. I'll give it another shot though.

May 22 2017, 3:51 AM · Design, Search, Restricted Project

Apr 19 2017

epriestley closed T12596: Fulltext stopword filtering is applying before stemming and failing to filter forms of words which stem to stopwords as Resolved by committing Restricted Diffusion Commit.
Apr 19 2017, 5:02 PM · Search, Customer Impact
epriestley added a revision to T12596: Fulltext stopword filtering is applying before stemming and failing to filter forms of words which stem to stopwords: Restricted Differential Revision.
Apr 19 2017, 4:00 PM · Search, Customer Impact
epriestley updated the task description for T12596: Fulltext stopword filtering is applying before stemming and failing to filter forms of words which stem to stopwords.
Apr 19 2017, 3:33 PM · Search, Customer Impact