Page MenuHomePhabricator
Feed Advanced Search

Dec 3 2015

epriestley reopened T9893: Support ElasticSearch 2.0 - 5.1 as "Open".
Dec 3 2015, 3:53 PM · Elasticsearch, Search
• nwaf1990 merged task T9893: Support ElasticSearch 2.0 - 5.1 into T9892: I want to be sent email when a build fails for any commit in a repository.
Dec 3 2015, 3:50 PM · Elasticsearch, Search
epriestley triaged T9889: Object selector dialog does not work in Elasticsearch 2.0 as Low priority.
Dec 3 2015, 2:47 PM · Elasticsearch
epriestley added a project to T9893: Support ElasticSearch 2.0 - 5.1: Elasticsearch.
Dec 3 2015, 2:21 PM · Elasticsearch, Search
epriestley renamed T9889: Object selector dialog does not work in Elasticsearch 2.0 from Phabricator search is not working perfectly after upgrading search features to elasticsearch to Object selector dialog does not work in Elasticsearch 2.0.
Dec 3 2015, 2:21 PM · Elasticsearch
epriestley added a comment to T9889: Object selector dialog does not work in Elasticsearch 2.0.

We don't currently support ElasticSearch 2.0. I'm collecting issues we've seen with it in T9893.

Dec 3 2015, 2:17 PM · Elasticsearch
epriestley updated the task description for T5282: Provide documentation on setting up ElasticSearch.
Dec 3 2015, 2:16 PM · Elasticsearch, Documentation
epriestley added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

@ru31337, that issue isn't related to this one and isn't "wontfix". Please see Contributing Bug Reports for instructions on how to report bugs. Choosing an existing similar task, changing it to "wontfix" and dumping your issue into it won't get it fixed.

Dec 3 2015, 2:09 PM · Elasticsearch
epriestley added a parent task for T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0: T9893: Support ElasticSearch 2.0 - 5.1.
Dec 3 2015, 2:08 PM · Elasticsearch
epriestley added a parent task for T9779: ./bin/search init error with elasticsearch 2.0: T9893: Support ElasticSearch 2.0 - 5.1.
Dec 3 2015, 2:08 PM · Elasticsearch
epriestley added a parent task for T9889: Object selector dialog does not work in Elasticsearch 2.0: T9893: Support ElasticSearch 2.0 - 5.1.
Dec 3 2015, 2:08 PM · Elasticsearch

Dec 2 2015

• Basheer added a comment to T9889: Object selector dialog does not work in Elasticsearch 2.0.

I just upgraded Phabricator, now the version is,

Dec 2 2015, 4:47 PM · Elasticsearch
chad added a comment to T9889: Object selector dialog does not work in Elasticsearch 2.0.

Your install is fairly out of date. See https://secure.phabricator.com/book/phabcontrib/article/bug_reports/#common-fixes

Dec 2 2015, 4:15 PM · Elasticsearch
• Basheer added a comment to T9889: Object selector dialog does not work in Elasticsearch 2.0.

Phabricator Version d878f215617bb5a97bd5ea4145566308cb68d7e3

Dec 2 2015, 4:00 PM · Elasticsearch
epriestley changed the edit policy for T9889: Object selector dialog does not work in Elasticsearch 2.0.
Dec 2 2015, 3:53 PM · Elasticsearch
chad added a comment to T9889: Object selector dialog does not work in Elasticsearch 2.0.

What version of Phabricator are you running.. See Contributing Bug Reports

Dec 2 2015, 3:26 PM · Elasticsearch
chad added a project to T9889: Object selector dialog does not work in Elasticsearch 2.0: Elasticsearch.
Dec 2 2015, 3:26 PM · Elasticsearch

Nov 13 2015

clippit created T9779: ./bin/search init error with elasticsearch 2.0.
Nov 13 2015, 6:29 AM · Elasticsearch

Nov 9 2015

ru31337 changed the status of T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0 from Resolved to Wontfix.

Index _status in 2.0 replaced _stats https://www.elastic.co/guide/en/elasticsearch/reference/2.0/indices-status.html

Nov 9 2015, 12:54 AM · Elasticsearch

Nov 2 2015

kozejonaz added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

Thanks for testing the patch, should be in HEAD now. Let us know if you run into anything else.

Not sure what @tycho.tatitscheff ran into.

Nov 2 2015, 5:08 PM · Elasticsearch
tycho.tatitscheff added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

@epriestley i think I didn't delete index first.
Just bin/search index --all.

Nov 2 2015, 4:42 PM · Elasticsearch
epriestley added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

Thanks for testing the patch, should be in HEAD now. Let us know if you run into anything else.

Nov 2 2015, 4:22 PM · Elasticsearch
epriestley closed T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0 as Resolved by committing Restricted Diffusion Commit.
Nov 2 2015, 4:21 PM · Elasticsearch
kozejonaz added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

@epriestley/@tycho.tatitscheff: We managed to test D14370 now, and it totally fixes our problem!

Nov 2 2015, 4:12 PM · Elasticsearch
tycho.tatitscheff added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

I patched with D14370 and still get an issue. I can retry but I pretty sure I did think corectly.

Nov 2 2015, 11:41 AM · Elasticsearch
kozejonaz added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

I tested and i does not fix !

Well, I didn't move to elastic 2.0 but restarting elasticsearch, reindexing rerestarting and reruning plugin doesn't leave me the same error.

Nov 2 2015, 10:26 AM · Elasticsearch

Oct 31 2015

kozejonaz added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

D14370 likely fixes this, although I don't have ElasticSearch 2.0 locally and haven't tested it. I'd guess this will give you a clean bill of health:

  • Apply the patch;
  • run bin/search index --all to rebuild all indexes;
  • run the ElasticSearch tool again.

Can you let me know if that works?

Oct 31 2015, 12:28 PM · Elasticsearch

Oct 30 2015

tycho.tatitscheff added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

I tested and i does not fix !

Oct 30 2015, 5:16 PM · Elasticsearch
epriestley added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

Oh, I think I misremembered and it does foreground by default. You can use --background to improve performance, and monitor from /daemon/.

Oct 30 2015, 5:03 PM · Elasticsearch
epriestley added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

Note that index --all queues stuff into the background, so you may need to wait a while before it finishes. You can use --foreground (slower) or monitor progress from /daemon/ in the web UI.

Oct 30 2015, 5:03 PM · Elasticsearch
epriestley added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

D14370 likely fixes this, although I don't have ElasticSearch 2.0 locally and haven't tested it. I'd guess this will give you a clean bill of health:

Oct 30 2015, 5:02 PM · Elasticsearch
epriestley added a revision to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0: Restricted Differential Revision.
Oct 30 2015, 5:00 PM · Elasticsearch

Oct 29 2015

kozejonaz added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

After a closer look there seem to be quite a lot of inconsistencies for the different .when fields.

Oct 29 2015, 3:16 PM · Elasticsearch
kozejonaz updated the task description for T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.
Oct 29 2015, 3:07 PM · Elasticsearch
tycho.tatitscheff added a comment to T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.

Uhm I tested the same last month when 2.0 was still beta then conclude that phabricator only supported 1.x.
I will follow the resolution of this.

Oct 29 2015, 3:04 PM · Elasticsearch
kozejonaz created T9670: Conflicting field mappings for phabricator index when upgrading to Elasticsearch 2.0.
Oct 29 2015, 2:58 PM · Elasticsearch

Oct 7 2015

joshuaspence added a subtask for T9526: Support IAM credentials for Elasticsearch: T5155: Evaluate support for AWS IAM Roles in S3 Client.
Oct 7 2015, 5:13 PM · Search, Elasticsearch
joshuaspence created T9526: Support IAM credentials for Elasticsearch.
Oct 7 2015, 5:13 PM · Search, Elasticsearch

Sep 23 2015

chad renamed T9460: Unable to search for open tasks using Elasticsearch from Unable to search for open tasks to Unable to search for open tasks using Elasticsearch.
Sep 23 2015, 2:59 AM · Elasticsearch, Search
joshuaspence added a comment to T9460: Unable to search for open tasks using Elasticsearch.

It seems that this is not limited to Maniphest, it applies to all search documents.

Sep 23 2015, 1:57 AM · Elasticsearch, Search
joshuaspence created T9460: Unable to search for open tasks using Elasticsearch.
Sep 23 2015, 1:56 AM · Elasticsearch, Search

Aug 26 2015

joshuaspence added a comment to T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.

I applied the following change locally. I'm not convinced that it is the most correct solution, but it seems to have worked for our install:

Aug 26 2015, 10:06 PM · Elasticsearch, Search

Aug 17 2015

joshuaspence updated subscribers of T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.
Aug 17 2015, 9:44 PM · Elasticsearch, Search
joshuaspence added a comment to T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.

Comparing the mappings before and after (with curl 'http://localhost:9200/phabricator/_mappings?pretty=true'):

Aug 17 2015, 7:21 AM · Elasticsearch, Search
joshuaspence added a comment to T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.

I've made some small progress here.

Aug 17 2015, 6:26 AM · Elasticsearch, Search

Jul 23 2015

joshuaspence claimed T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.
Jul 23 2015, 8:59 AM · Elasticsearch, Search

Jul 8 2015

chad removed a member for Elasticsearch: chad.
Jul 8 2015, 7:39 PM

Jun 18 2015

joshuaspence created T8602: "Merge Duplicate Tasks" shows results in wrong order with ElasticSearch.
Jun 18 2015, 12:06 PM · Elasticsearch, Search
joshuaspence renamed T8598: Incorrect Elasticsearch index from Incorrect Elasticsearch inder to Incorrect Elasticsearch index.
Jun 18 2015, 8:14 AM · Elasticsearch, Search
joshuaspence created T8598: Incorrect Elasticsearch index.
Jun 18 2015, 5:34 AM · Elasticsearch, Search

May 28 2015

joshuaspence claimed T5282: Provide documentation on setting up ElasticSearch.

I set this up recently and can probably flesh out some documentation.

May 28 2015, 9:07 PM · Elasticsearch, Documentation
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

Can you tell me the configuration setup that you guys are using:
OS, core#, memory (size, speed), SSD, php, mysql?

May 28 2015, 3:11 AM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.
php -v
PHP 5.5.9-1ubuntu4.7 (cli) (built: Mar 16 2015 20:47:39)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
May 28 2015, 3:10 AM · Elasticsearch

May 25 2015

chad added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

I don't know if it's worth noting, but Ubuntu 10.04 was end of life'd last month (it's 5 years old). What versions of PHP/MySQL are you running on it?

May 25 2015, 4:01 PM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

2 minute delays between prints.
Maybe an incorrect assessment, but I see there is a direct relationship to the my.conf vs how much mem/swap is used once I start phd; but always max CPU and obviously this impacts severely apache browsing and conduit api response

May 25 2015, 1:59 PM · Elasticsearch
epriestley added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

Where are the two-second delays occurring? Everything in that trace looks like it happens in no more than a few milliseconds.

May 25 2015, 1:54 PM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

git pull

remote: Counting objects: 19, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 15), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (19/19), done.
From git://github.com/facebook/libphutil
   4e0febf..672c0f7  master     -> origin/master
Updating 4e0febf..672c0f7
Fast-forward
 .arcconfig                                    | 1 -
 src/daemon/PhutilDaemon.php                   | 5 +++--
 src/daemon/PhutilDaemonHandle.php             | 7 +++++--
 src/future/exec/CommandException.php          | 2 +-
 src/moduleutils/PhutilLibraryMapBuilder.php   | 4 ++--
 src/serviceprofiler/PhutilServiceProfiler.php | 4 ++--
 6 files changed, 13 insertions(+), 10 deletions(-)
May 25 2015, 1:50 PM · Elasticsearch
epriestley added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

Can you update libphutil and retry that? The duration printouts are bugged until rPHU65819efa.

May 25 2015, 1:44 PM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.
KiB Mem:  16120708 total, 15954548 used,   166160 free,    50420 buffers
KiB Swap: 16457724 total,  1017324 used, 15440400 free.  2086480 cached Mem
May 25 2015, 1:41 PM · Elasticsearch
epriestley added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

Can you run bin/phd debug taskmaster for a minute or so and show me the output?

May 25 2015, 1:24 PM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

I did the following:
/bin/phd stop

May 25 2015, 1:07 PM · Elasticsearch
JoggerTech added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.
> bin/phd status
Log Daemon       Host      Overseer Started                 Class                                Arguments
229 24793:p2icsv localhost 24793    May 25 2015, 6:30:38 AM PhabricatorRepositoryPullLocalDaemon
230 24793:gxho6u localhost 24793    May 25 2015, 6:30:38 AM PhabricatorTriggerDaemon
231 24793:2pttlj localhost 24793    May 25 2015, 6:30:38 AM PhabricatorTaskmasterDaemon
232 24793:ncviya localhost 24793    May 25 2015, 6:30:38 AM PhabricatorTaskmasterDaemon
233 24793:hqcy3p localhost 24793    May 25 2015, 6:30:38 AM PhabricatorTaskmasterDaemon
234 24793:yrrdmd localhost 24793    May 25 2015, 6:30:38 AM PhabricatorTaskmasterDaemon
May 25 2015, 12:39 PM · Elasticsearch
epriestley added a comment to T8306: Understanding phd, memory limitations, elasticsearch index slowness.

These numbers are wildly out of line with expectations. For comparison, I just ran a similar workload on this machine:

May 25 2015, 11:12 AM · Elasticsearch
JoggerTech updated the task description for T8306: Understanding phd, memory limitations, elasticsearch index slowness.
May 25 2015, 6:37 AM · Elasticsearch
JoggerTech renamed T8306: Understanding phd, memory limitations, elasticsearch index slowness from Understanding phd, memory limitations, elasticsearch to Understanding phd, memory limitations, elasticsearch index slowness.
May 25 2015, 6:22 AM · Elasticsearch
JoggerTech updated the task description for T8306: Understanding phd, memory limitations, elasticsearch index slowness.
May 25 2015, 5:18 AM · Elasticsearch
JoggerTech added a project to T8306: Understanding phd, memory limitations, elasticsearch index slowness: Elasticsearch.
May 25 2015, 5:15 AM · Elasticsearch

May 12 2015

tycho.tatitscheff added a comment to T5282: Provide documentation on setting up ElasticSearch.

@epriestley , so is their a way to provide special configurartion ? Can you give me some basic hints ?

May 12 2015, 7:10 PM · Elasticsearch, Documentation
epriestley updated subscribers of T5282: Provide documentation on setting up ElasticSearch.
May 12 2015, 5:43 PM · Elasticsearch, Documentation

Apr 17 2015

Pawka closed T7827: Boost Elasticsearch results if match is found on title instead of body. as Resolved.
Apr 17 2015, 6:14 AM · Elasticsearch, Search

Apr 16 2015

Pawka added a revision to T7827: Boost Elasticsearch results if match is found on title instead of body.: Restricted Differential Revision.
Apr 16 2015, 7:36 AM · Elasticsearch, Search

Apr 15 2015

Pawka updated the task description for T7827: Boost Elasticsearch results if match is found on title instead of body..
Apr 15 2015, 10:18 AM · Elasticsearch, Search
Pawka created T7827: Boost Elasticsearch results if match is found on title instead of body..
Apr 15 2015, 10:16 AM · Elasticsearch, Search

Apr 14 2015

chad updated subscribers of T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.
Apr 14 2015, 2:42 AM · Search

Mar 13 2015

qgil renamed T6552: Implement partial / wildcard searching (Elasticsearch) from Implement partial / wildcard searching to Implement partial / wildcard searching (Elasticsearch).
Mar 13 2015, 5:00 PM · Elasticsearch, Search

Jan 8 2015

synsun.moon added a comment to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.

Thanks @fabe.
I resolved that issue after search init and change mysql config ( STRICT option ).
It works well but I found T6892.

Jan 8 2015, 10:22 AM · Search
synsun.moon created T6892: Invalid search result when I input less than 2 Korean character..
Jan 8 2015, 10:20 AM · Elasticsearch
fabe added a comment to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.

just run

./bin/search init

first.
This will create the needed elasticsearch index.

Jan 8 2015, 10:19 AM · Search
synsun.moon added a comment to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.

Thank you for your answer. But I met this error message.
after "search index --all"

[HTTP/404] Not Found
{"error":"IndexMissingException[[phabricator] missing]","status":404}

Is it need more configuration for this?

Jan 8 2015, 8:03 AM · Search
chad added a comment to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.

https://secure.phabricator.com/T5282#62676

Jan 8 2015, 5:56 AM · Search
synsun.moon added a comment to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it.

Is there a temporary way to resolve this issue? ( Just only for wiki search )

Jan 8 2015, 5:54 AM · Search

Dec 22 2014

epriestley closed T5990: Elasticsearch search backend requires auto_create_index turned on as Resolved.

Presuming resolved by D10955, yell if I missed something or there's some followup.

Dec 22 2014, 11:55 PM · Elasticsearch, Search
epriestley closed T6780: Can't search an exact phrase in Phabricator as Resolved.

Closed by commit rPc953c0fedc17.

Dec 22 2014, 9:00 PM · Wikimedia, Search, Elasticsearch

Dec 18 2014

WikiChad added a revision to T6780: Can't search an exact phrase in Phabricator: Restricted Differential Revision.
Dec 18 2014, 8:30 PM · Wikimedia, Search, Elasticsearch
epriestley added a comment to T6780: Can't search an exact phrase in Phabricator.

Yeah, this is specific to ElasticSearch -- exact phrase search works on this install with the MySQL backend T6747.

Dec 18 2014, 3:55 PM · Wikimedia, Search, Elasticsearch
qgil created T6780: Can't search an exact phrase in Phabricator.
Dec 18 2014, 1:28 PM · Wikimedia, Search, Elasticsearch

Dec 4 2014

qgil removed a project from T5990: Elasticsearch search backend requires auto_create_index turned on: Wikimedia.
Dec 4 2014, 12:37 PM · Elasticsearch, Search
qgil moved T6552: Implement partial / wildcard searching (Elasticsearch) from Backlog to Important on the Wikimedia board.
Dec 4 2014, 12:28 PM · Elasticsearch, Search
qgil added a project to T6552: Implement partial / wildcard searching (Elasticsearch): Wikimedia.
Dec 4 2014, 12:27 PM · Elasticsearch, Search
fabe added a comment to T6552: Implement partial / wildcard searching (Elasticsearch).

One way of doing this is by adjusting the mapping for the elasticsearch index (actually way more powerful than a wildcard search).
I currently switched to the mapping below (added as a template expecting the index to be named 'phabricator' and with an english language setting).
Feel free to change the min/max ngrams setting (e.g. 4 instead of 3 letter ngrams) if you get too many / few results.
If you like to switch to another language the docs to do so are here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html
For it to take effect you have to delete the index and then reindex all objects (bin/index --all).

Dec 4 2014, 12:17 PM · Elasticsearch, Search

Nov 15 2014

chad added a comment to T6552: Implement partial / wildcard searching (Elasticsearch).

(I would like this tooooo)

Nov 15 2014, 5:51 AM · Elasticsearch, Search
chad triaged T6552: Implement partial / wildcard searching (Elasticsearch) as Normal priority.
Nov 15 2014, 5:50 AM · Elasticsearch, Search

Nov 14 2014

chad added a project to T6552: Implement partial / wildcard searching (Elasticsearch): Elasticsearch.
Nov 14 2014, 4:36 PM · Elasticsearch, Search

Nov 13 2014

chad added a subtask for T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it: T5282: Provide documentation on setting up ElasticSearch.
Nov 13 2014, 5:56 PM · Search
chad added a project to T2632: MyISAM fulltext does not support non-latin languages and we don't warn you about it: Elasticsearch.
Nov 13 2014, 5:50 PM · Search

Sep 30 2014

qgil moved T5990: Elasticsearch search backend requires auto_create_index turned on from Backlog to Details on the Wikimedia board.
Sep 30 2014, 7:22 PM · Elasticsearch, Search

Sep 22 2014

chad closed T6158: Test as Invalid.
Sep 22 2014, 2:13 PM · Roadmap, Elasticsearch
• NSPIRIT created T6158: Test.
Sep 22 2014, 11:18 AM · Roadmap, Elasticsearch

Sep 2 2014

chad added a project to T4692: Slashes are being double-escaped (or not escaped?) when passed to ElasticSearch: Elasticsearch.
Sep 2 2014, 3:52 PM · Elasticsearch
chad added a project to T5282: Provide documentation on setting up ElasticSearch: Elasticsearch.
Sep 2 2014, 3:52 PM · Elasticsearch, Documentation