lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.5k stars 2.26k forks source link

ECO field in advanced search #11651

Closed nojoking closed 1 year ago

nojoking commented 2 years ago

It would be useful to have a field to search by ECO on https://lichess.org/games/search

hb20007 commented 2 years ago

I found one open issue related to this: https://github.com/lichess-org/lila/issues/8969 Also 2 closed issues: https://github.com/lichess-org/lila/issues/7188 https://github.com/lichess-org/lila/issues/2152

Siderite commented 1 year ago

+1 I also use this quite a lot. It feels wasteful to dowload (oh so slowly) all the games of a player so that you can play with regular expressions to extract specific openings.

I would add also the possibility to search by FEN.

ornicar commented 1 year ago

we used to have ECO search but then it was removed because ECO is useless garbage. It's a terrible way to classify openings, that makes no sense and has little to no practical value.

Use the player opening explorer instead.

To search by FEN, use the opening explorer.

Siderite commented 1 year ago

The scenario is: search all of the games with a specific variation, amongst other things like the player name and the color of their pieces, time controls, etc. The purpose is to download them. Yes, I can make something that (ab)uses the opening explorer to download all games from that position, but it would be terribly wasteful.

I agree that the ECO is imprecise, that is why probably a FEN search would be more useful, even if still not the complete picture, since you want to check some variations that contain several key positions or you only want to take into consideration the position of one side. (halFEN?)

The problem is logistical, since the PGN of a game cannot be searched by FEN after the download unless fed into a chess computer module.

Anyway, just my two cents.