Page MenuHomePhabricator
Feed All Stories

Mar 27 2017

20after4 added a comment to T12450: New Search Configuration Errata.

  • Searching for f*a*c*t*o*r*y*s*u*r*p*l*u*s*z*z*q*q*z*z*q*q produces nonsenical results (many results, when I would expect no results: the results do not contain that sequence of letters in order).
  • Searching or user fails to find task Grant users tokens when a mention is created, suggesting that stemming is not working.
  • Searching for users finds that task, but fails to find a task containing "per user per month" in a comment, also suggesting that stemming is not working.
  • Searching for maniphest fails to find task maniphest.query elephant, suggesting that tokenization is ElasticSearch is not as good as the MySQL tokenization for these words (see D17330).
Mar 27 2017, 9:45 AM · Search
20after4 added a comment to T12450: New Search Configuration Errata.

f*a*c*t*o*r*y*s*u*r*p*l*u*s*z*z*q*q*z*z*q*q returns the same results as
f a c t o r y s u r p l u s z z q q z z q q so it appears to be treating those as individual single-letter tokens. strange.

Mar 27 2017, 9:37 AM · Search
remusvrm updated the question details for Q600: Is it possible to add queries in Phriction and they get extended?.
Mar 27 2017, 9:12 AM
remusvrm updated Q600: Is it possible to add queries in Phriction and they get extended? from to Is it possible to add queries in Phriction and they get extended?.
Mar 27 2017, 9:10 AM
20after4 added a comment to T12443: Applying fulltext limits first causes missing results.

I think it would make a lot of sense to construct the two queries separately (and in parallel) with a short timeout, then handle the timeout gracefully allowing the user to refine their query further. This would avoid the denial of service situation which happened to Wikimedia more than once due to users repeatedly executing really expensive searches until mysql fell over from the load.

Mar 27 2017, 8:43 AM · Restricted Project, Search, Bug Report
wuzesheng added a comment to T12452: Can't edit task description after upgrading to the latest version.

And also, there's no edit form below this kind of task:

pasted_file (567×1 px, 82 KB)

Mar 27 2017, 5:39 AM · Bug Report (Needs Information)
wuzesheng created T12452: Can't edit task description after upgrading to the latest version.
Mar 27 2017, 5:37 AM · Bug Report (Needs Information)

Mar 26 2017

Taskle added a comment to T10640: Allow application queries to be promoted as global search modes.

The high level need here actually just came up as recently as yesterday with our new senior product manager; he had no idea that there was a Maniphest-specific search and had instead been searching for maniphest tasks using global search (and was convinced Phab search was very limited due to this). Only upon me watching him do this search and advising him did he discover it. I've seen this issue several times now in our organization and I believe it contributes to the perception from some people internally that they have problems with Phab search.

Mar 26 2017, 11:14 PM · Search, Feature Request
chad moved T8879: Prompt user to enter instance name when disabling instance on Phacility from Backlog to Onboarding/NUX on the Phacility board.
Mar 26 2017, 11:14 PM · Phacility
chad moved T11132: New Phabricator NUX from Backlog to Onboarding/NUX on the Phacility board.
Mar 26 2017, 11:14 PM · Design, Phacility, NUX
chad moved T11456: Don't lose user in NUX flow because of Timezone issues from Backlog to Onboarding/NUX on the Phacility board.
Mar 26 2017, 11:13 PM · Design, Phacility, NUX
chad moved T12451: Finding your subscriptions / cards on Phacility is non-obvious from Backlog to Onboarding/NUX on the Phacility board.
Mar 26 2017, 11:13 PM · Phortune, Phacility
chad created T12451: Finding your subscriptions / cards on Phacility is non-obvious.
Mar 26 2017, 11:12 PM · Phortune, Phacility
Taskle added a comment to T10639: Implement a complex Gmail-style "to:<name>" query language.

FWIW I don't see this as something people would express interest in so it doesn't surprise me you haven't heard it from people, but if a user discovered it (e.g. there were an indicator below/during a search query as a power feature), I imagine they would use it. Just my 2 cents.

Mar 26 2017, 11:12 PM · Search, Feature Request
20after4 added a comment to T12450: New Search Configuration Errata.

I ran into a lot of confusion because the versioned object indexes are not namespaced per-service. Basically, if you insert version 95 of a document into Elastic, the indexer thinks that version 95 doesn't need to go into MySQL, even though it does. So when you run bin/search index ..., you may get only a subset of the updates you actually need. The object index versions need to change to become engine-aware so they are stored per-service, not globally, and/or the whole mechanism needs to include a hash of cluster.search or just be turned off. Until this is fixed, it can be worked around with using --force everywhere.

bin/search index might reasonably provide summary output about this ("392 documents were not indexed because they haven't changed, use --force to update them.").

Mar 26 2017, 11:08 PM · Search
20after4 added a comment to T12450: New Search Configuration Errata.

  • Searching for f*a*c*t*o*r*y*s*u*r*p*l*u*s*z*z*q*q*z*z*q*q produces nonsenical results (many results, when I would expect no results: the results do not contain that sequence of letters in order).
  • Searching or user fails to find task Grant users tokens when a mention is created, suggesting that stemming is not working.
  • Searching for users finds that task, but fails to find a task containing "per user per month" in a comment, also suggesting that stemming is not working.
  • Searching for maniphest fails to find task maniphest.query elephant, suggesting that tokenization is ElasticSearch is not as good as the MySQL tokenization for these words (see D17330).
  • Searching for users -blue returns a huge number of results: significantly more than users. Expected behavior: fewer results, omitting those results matching blue.
  • Searching for users blue returns more results than users or blue. Expected behavior: fewer results, because only results which match "users" AND "blue" are returned. The result set includes completely irrelevant results.
Mar 26 2017, 10:59 PM · Search
20after4 added a comment to T12450: New Search Configuration Errata.

@epriestley: Thanks for the detailed feedback... I'll get to work ;)

Mar 26 2017, 10:56 PM · Search
cspeckmim created P2033 Example diff generated from mercurial.
Mar 26 2017, 8:19 PM
epriestley reopened T8918: Header shows number of notifications and various other controls on the 2FA auth screen as "Open".

(This was incorrectly closed by the text "doesn't actually fix T8918" in rP08de131da525.)

Mar 26 2017, 8:15 PM · Security, Auth
epriestley reopened T8918: Header shows number of notifications and various other controls on the 2FA auth screen, a subtask of T8442: Build Space switching UI, as Open.
Mar 26 2017, 8:15 PM · Restricted Project, Spaces, Wikimedia, Policy
epriestley added a comment to T12450: New Search Configuration Errata.

Personal notes:

Mar 26 2017, 2:35 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 1:04 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:55 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:54 PM · Search
epriestley added a project to T6906: Archived / closed objects don't have "closed" look in typeahead results, in global search typeahead only: Contributor Onboarding.
Mar 26 2017, 12:47 PM · Typeahead, Contributor Onboarding, Design
epriestley renamed T6906: Archived / closed objects don't have "closed" look in typeahead results, in global search typeahead only from archived / closed objects don't have "closed" look in typeahead results to Archived / closed objects don't have "closed" look in typeahead results, in global search typeahead only.
Mar 26 2017, 12:47 PM · Typeahead, Contributor Onboarding, Design
epriestley moved T8646: Provide more context for search results, particularly wiki documents from v2 to v3 on the Search board.
Mar 26 2017, 12:46 PM · Design, Search, Restricted Project
epriestley moved T5941: Show Phriction Pages in Search Typeahead from Backlog to v3 on the Search board.
Mar 26 2017, 12:46 PM · Phriction
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:44 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:44 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:44 PM · Search
epriestley added a comment to T12450: New Search Configuration Errata.

I can not reproduce it on wikimedia's install.

Mar 26 2017, 12:43 PM · Search
epriestley closed T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch as Resolved.

Presuming this is resolved since @20after4 couldn't reproduce it after T12450, feel free to follow up there or in a new task if you're still seeing issues.

Mar 26 2017, 12:43 PM · Elasticsearch, Search
20after4 added a comment to T12450: New Search Configuration Errata.
  • Has T8602 been resolved?

I can not reproduce it on wikimedia's install.

Mar 26 2017, 12:42 PM · Search
epriestley renamed T12438: Project tokenizer functions like "any()" and "not()" do not include descendants from Unable to query tasks from multiple projects in maniphest advanced to Project tokenizer functions like "any()" and "not()" do not include descendants.
Mar 26 2017, 12:42 PM · Typeahead, Projects, Maniphest, Feature Request
epriestley removed a project from T4182: add date chooser for ApplicationSearch date fields: Search.
Mar 26 2017, 12:41 PM · ApplicationSearch
epriestley moved T7860: When users search for "#x y", treat "#x" as a project hashtag from Backlog to v2 on the Search board.
Mar 26 2017, 12:41 PM · Search
epriestley closed T10640: Allow application queries to be promoted as global search modes as Wontfix.

I don't plan to implement the original feature as described.

Mar 26 2017, 12:41 PM · Search, Feature Request
epriestley moved T10315: Make it more clear to users how to rebuild search indexes after adding search support to custom fields from Backlog to v2 on the Search board.
Mar 26 2017, 12:36 PM · Custom Fields, Search, Documentation
epriestley moved T9777: Search's autocomplete doesn't work on non-standard reserved keys in Object.prototype in Firefox's JavaScript engine from Backlog to v2 on the Search board.
Mar 26 2017, 12:36 PM · Search
epriestley closed T10639: Implement a complex Gmail-style "to:<name>" query language as Wontfix.

We haven't seen significant additional interest in this in more than a year. I expect to implement T7860 but, not a query microlanguage.

Mar 26 2017, 12:36 PM · Search, Feature Request
epriestley moved T12443: Applying fulltext limits first causes missing results from Backlog to v2 on the Search board.
Mar 26 2017, 12:32 PM · Restricted Project, Search, Bug Report
epriestley moved T12003: Explain to users how fulltext queries are parsed and executed from Backlog to v2 on the Search board.
Mar 26 2017, 12:32 PM · Search
epriestley moved T12450: New Search Configuration Errata from Backlog to v2 on the Search board.
Mar 26 2017, 12:32 PM · Search
20after4 added a comment to T12450: New Search Configuration Errata.
  • Write an "Upgrading: ..." guidance task with narrow instructions for installs that are upgrading.

TODO

  • Do we need to add an indexing activity (T11932) for installs with ElasticSearch?

Yes, I think so

  • We should more clearly detail exactly which versions of ElasticSearch are supported (for example, is ElasticSearch <2 no longer supported)? From >T9893 it seems like we may only have supported ElasticSearch <2 before, so are the two regions of support totally nonoverlapping and all ElasticSearch users will need to upgrade?
Mar 26 2017, 12:31 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:30 PM · Search
epriestley closed T9460: Unable to search for open tasks using Elasticsearch as Resolved.

Presuming this is resolved by D17384, see T12450 for followups.

Mar 26 2017, 12:30 PM · Elasticsearch, Search
epriestley closed T8598: Incorrect Elasticsearch index as Resolved.

Presuming this is resolved by new indexes in D17384, see T12450 for followups.

Mar 26 2017, 12:29 PM · Elasticsearch, Search
epriestley closed T6892: Invalid search result when I input less than 2 Korean character., a subtask of T12003: Explain to users how fulltext queries are parsed and executed, as Resolved.
Mar 26 2017, 12:28 PM · Search
epriestley closed T6892: Invalid search result when I input less than 2 Korean character. as Resolved.

This was tagged ElasticSearch and may now be resolved (see T12450) but also lacks information we require in a modern bug report (specifically: precise reproduction instructions). If this is still an issue at HEAD of master, feel free to follow up on T12450 or file a new report with reproduction steps.

Mar 26 2017, 12:28 PM · Elasticsearch
20after4 added a comment to T12450: New Search Configuration Errata.

I haven't been testing with elasticsearch < 2.0 so this might break backwards compatibility. It wouldn't be difficult to fix any compatibility issues though, with a tiny bit of testing.

Mar 26 2017, 12:27 PM · Search
epriestley closed T4692: Slashes are being double-escaped (or not escaped?) when passed to ElasticSearch as Resolved.

Presuming this is resolved by D17384 (but maybe @20after4 can correct me).

Mar 26 2017, 12:26 PM · Elasticsearch
epriestley removed a project from T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it: Elasticsearch.
Mar 26 2017, 12:25 PM · Search
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:25 PM · Search
epriestley closed T10161: Fulltext indexing produces invalid JSON documents in Elasticsearch as Resolved.

Presuming this is either resolved by T9893/D17384 or no longer relevant. Follow up on T12450 or file a new task if you're still seeing issues.

Mar 26 2017, 12:24 PM · Elasticsearch, Bug Report
epriestley updated the task description for T12450: New Search Configuration Errata.
Mar 26 2017, 12:24 PM · Search
20after4 added a comment to T6552: Implement partial / wildcard searching (Elasticsearch).

With the elasticsearch 'simple_query_string' query parser it only works if you use *pricot, for example, outside of quoted phrases.

Mar 26 2017, 12:23 PM · Elasticsearch, Search
epriestley closed T5282: Provide documentation on setting up ElasticSearch as Resolved.

I'm just going to close this in favor of T12450.

Mar 26 2017, 12:20 PM · Elasticsearch, Documentation
epriestley closed T5282: Provide documentation on setting up ElasticSearch, a subtask of T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it, as Resolved.
Mar 26 2017, 12:20 PM · Search
epriestley created T12450: New Search Configuration Errata.
Mar 26 2017, 12:20 PM · Search
epriestley added a comment to T6552: Implement partial / wildcard searching (Elasticsearch).

As a general product decision, I do not expect search to be substring search by default -- searching for pricot on Google does not match documents containing apricot. But we can sort this out in the long run.

Mar 26 2017, 12:16 PM · Elasticsearch, Search
20after4 added a comment to T5282: Provide documentation on setting up ElasticSearch.

Note there will finally be a little bit of documentation once this install rebuilds diviner docs: The url should be https://secure.phabricator.com/book/phabricator/article/cluster_search/ (eventually)

Mar 26 2017, 12:13 PM · Elasticsearch, Documentation
20after4 closed T6552: Implement partial / wildcard searching (Elasticsearch) as Resolved.

This should work just fine with the index mapping and query generation in {rPe41c25de5050}

Mar 26 2017, 12:09 PM · Elasticsearch, Search
20after4 closed T9779: ./bin/search init error with elasticsearch 2.0, a subtask of T9893: Support ElasticSearch 2.0 - 5.1, as Resolved.
Mar 26 2017, 12:06 PM · Elasticsearch, Search
20after4 closed T9779: ./bin/search init error with elasticsearch 2.0 as Resolved.
Mar 26 2017, 12:06 PM · Elasticsearch
20after4 added a revision to T9893: Support ElasticSearch 2.0 - 5.1: Unknown Object (Differential Revision).
Mar 26 2017, 12:05 PM · Elasticsearch, Search
20after4 renamed T9893: Support ElasticSearch 2.0 - 5.1 from Support ElasticSearch 2.0 to Support ElasticSearch 2.0 - 5.1.
Mar 26 2017, 12:04 PM · Elasticsearch, Search

Mar 25 2017

andypuettmann added a comment to Q571: How can I include any JS code in Phabricator (Answer 534).

Wohoo, yes it does.

Mar 25 2017, 10:55 PM
chad added Q571: How can I include any JS code in Phabricator (Answer 534).
Mar 25 2017, 10:40 PM
andypuettmann added a comment to Q571: How can I include any JS code in Phabricator.

I have a script like:

Mar 25 2017, 10:04 PM
Mnkras awarded T11443: T-shirts with new logo a Party Time token.
Mar 25 2017, 9:30 PM · Public & Media Relations
thoughtpolice awarded T11443: T-shirts with new logo a Love token.
Mar 25 2017, 8:15 PM · Public & Media Relations
chad added a comment to T11443: T-shirts with new logo.

If only Phortune had an inventory management system.

Mar 25 2017, 5:30 PM · Public & Media Relations
chad added a comment to T11443: T-shirts with new logo.

Also ordered hoodies.

Mar 25 2017, 5:29 PM · Public & Media Relations
epriestley closed T12448: Rotate 2017 SSL certificate for `secure.phabricator.com` as Resolved.

These are now up to date.

Mar 25 2017, 12:56 PM · Ops
chad added a comment to Q571: How can I include any JS code in Phabricator.

Where / how are you trying? Pages view library is /src/view/page/.

Mar 25 2017, 2:00 AM
andypuettmann added a comment to Q571: How can I include any JS code in Phabricator.

Tried numerous ways to do so.
Always failed with it.

Mar 25 2017, 1:39 AM
andypuettmann updated the answer details for Q571: How can I include any JS code in Phabricator (Answer 533).
Mar 25 2017, 1:39 AM
andypuettmann added Q571: How can I include any JS code in Phabricator (Answer 533).
Mar 25 2017, 1:38 AM
chad added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

But if you say "Haskell" you may have to wait a minute.

Mar 25 2017, 1:27 AM · Conduit, Feature Request
epriestley closed T12449: Cannot set access control for creating new Maniphest forms as Resolved.

I'm going to presume this is approximately resolved.

Mar 25 2017, 1:09 AM · Bug Report
mbenua-mparticle added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

Raw HTTP is actually perfect for me! Thank you!

Mar 25 2017, 12:50 AM · Conduit, Feature Request
epriestley added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

But if you say "Haskell" you may have to wait a minute.

Mar 25 2017, 12:46 AM · Conduit, Feature Request
epriestley added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

Maybe easier would be for you to tell me what language you want to use and I'll just write you a snippet which encodes a request?

Mar 25 2017, 12:45 AM · Conduit, Feature Request
epriestley edited the content of Changelog.
Mar 25 2017, 12:42 AM
epriestley created 2017 Week 12 (Very Late March).
Mar 25 2017, 12:41 AM
epriestley added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

The page implies that all I should need to do is POST up, for example, the following:

Mar 25 2017, 12:38 AM · Conduit, Feature Request
mbenua-mparticle added a comment to T12447: Missing documentation for crafting raw Conduit API requests.

To be clear though, I still haven't figured out how to actually put in a POST body. It's fine to use URL params for something like differential.querydiffs, but I can imagine the problems I'll run into with URL length when doing harbormaster.sendmessage (especially when reporting a bunch of unit test and linting results).

Mar 25 2017, 12:15 AM · Conduit, Feature Request

Mar 24 2017

chad edited the content of Developer Setup.
Mar 24 2017, 10:54 PM
epriestley added a comment to T12449: Cannot set access control for creating new Maniphest forms.

(In the longer term, the permissions here could probably be cleaned up, but I think that's the cleanest fix without upstream changes.)

Mar 24 2017, 10:53 PM · Bug Report
chad edited the content of Developer Setup.
Mar 24 2017, 10:51 PM
epriestley added a comment to T12449: Cannot set access control for creating new Maniphest forms.

You can edit the "Create Form" form and change "Visible To:" to "Members of Project: Doctorate in Form Theory". Then only members of that project will be able to create other forms or edit the form form, I believe.

Mar 24 2017, 10:50 PM · Bug Report
alexmv added a comment to T12449: Cannot set access control for creating new Maniphest forms.

Enabling that form seems to have done the trick -- thanks! Since it got renamed at some point from "Create form," its existence was almost certainly confusing to some previous admin, which is what got us into this.

Mar 24 2017, 10:46 PM · Bug Report
epriestley added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.

Ah. I think you'd just see this, then:

Mar 24 2017, 10:01 PM · Owners, Audit, Restricted Project, Differential
jmeador added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.

FWIW, All packages in our monorepo have weak dominion.

Mar 24 2017, 9:56 PM · Owners, Audit, Restricted Project, Differential
epriestley added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.

Overall, you only get checkboxes for users, packages and projects which are already reviewers, with the exception that you'll get one for yourself if you aren't a reviewer yet.

Mar 24 2017, 9:47 PM · Owners, Audit, Restricted Project, Differential
chad renamed Equipment Purchasing from Equipment to Equipment Purchasing.
Mar 24 2017, 9:45 PM
chad edited the content of Phacility Employee Handbook.
Mar 24 2017, 9:44 PM
epriestley added a comment to T12449: Cannot set access control for creating new Maniphest forms.

I think there is also zero legitimate reason for the form-configuring-form to be editable and this entire workflow essentially represents a trap for the unwary.

Mar 24 2017, 9:43 PM · Bug Report
epriestley added a comment to T12449: Cannot set access control for creating new Maniphest forms.

If you can't enable that form, you might need to go hunt it down in the database and manually enable it (or tell me what you hit and we'll fix it if it's a bug).

Mar 24 2017, 9:38 PM · Bug Report