Smalyshev added a comment.

What is the error that is returned, if the category limit is hit?

The error is not implemented yet. Right now it just cuts the list off. I'll add the error message in the query soon.

Can you do multiple deepcategory searches in the same query?

You can use multiple keywords, I think, but one keyword right now is one category.

will the same category limit error be returned when A and B both have 700 subcategories?

Right now limit applies to single instance of the keyword, so if you repeat it, you can get over the limit (which probably will still fail the query if it reaches ElasticSearch limit). Not sure if there's a way to limit multiple invocation of the same keyword. Maybe we will need more systemic clause counting facility then. Will look into it.


TASK DETAIL
https://phabricator.wikimedia.org/T181549

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Aklapper, Addshore, Lea_WMDE, Smalyshev, debt, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, Jonas, FloNight, Xmlizer, KasiaWMDE, Luke081515, Bmueller, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, Tobi_WMDE_SW, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to