Of course, but you wrote and I replied to:
when in reality it is much slower (1491.8 seconds vs 2.2 seconds) and it also occupies much more space (17.6 GB vs 0.29 GB).
Moderator: Ras
Of course, but you wrote and I replied to:
when in reality it is much slower (1491.8 seconds vs 2.2 seconds) and it also occupies much more space (17.6 GB vs 0.29 GB).
Just to avoid misunderstandings: I certainly don't mean that you should give up and just use SCID !.
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.
Maybe you copied your stockfish commits from someone else too?
I will look into that.
Oh my…Fulvio wrote: ↑Thu Dec 30, 2021 9:10 amJust to avoid misunderstandings: I certainly don't mean that you should give up and just use SCID !.
I suggested that it was much easier if you compared the speeds directly (writing on the forum "How long does it takes ...?" And then waiting for me to answer is not the best)
Also consider that SCID's Material Search is rather inefficient: it uses only one thread and in a rather brutal way recreates all the database positions. I'm sure if one adapted for example the Stockfish code it would get much faster results.
In short, SCID can’t do position searching with some patterns! Am I correct???Fulvio wrote: ↑Thu Dec 30, 2021 9:10 am However, in the picture you posted:
- "Material" refers to the number of pieces on the board
- "Patterns" are additional restrictions where it is possible to choose if there must be (or not be) a piece in a square (or in a row or in a rank).
So that picture is searching for a position with:
2 black rooks (in all the board)
AND a black rook on d4
AND a black rook on d5
AND a black rook in e5
AND a black rook in e4
which obviously does not exist.
You can search for a position with:
2 black rook (in all the board)
AND there is no black rook in row 1
AND there is no black rook in row 2
AND there is no black rook in row 3
AND there is no black rook in row 6
AND there is no black rook in row 7
AND there is no black rook in row 8
AND there is no black rook in file a
...
AND there is no black rook in file h
In any case, the number of patterns does not particularly affect the speed of the search.
The lower part, "Operation on current filter", refers to previous searches (even of different types, such as header search) and is for super advanced users.
Let's say you want to search for a position with:
(a black rook on d4 AND a black rook on d5) OR (a black rook on d4 AND a black rook on e4)
Set the two patterns:
black rook in d4
AND black rook in d5
click "search"
select "or (add to filter)"
change the two patterns:
black rook in d4
AND black rook in e4
click "search"
All of this is quite explanatory as to why I think one should focus on searches that makes sense from a chess point of view.
Being too general, thinking that it is then possible to compose them, increases the complexity too much.
I’m very glad that my work might motivate some other works. As a chess enthusiast, I welcome and highly appreciate any new effort for the community! Having more choices is better, isn't it? (I have just mentioned it in a previous postSopel wrote: ↑Thu Dec 30, 2021 1:05 pm I'll just say that this thread motivated me to develop an efficient chess game storage+API suited for arbitrary parallel linear scan searches on positions/moves in chess games; as an alternative to this. It has become apparent that specialized solutions are needed for different use cases.
You still look a little bit confused to mephhnguyen wrote: ↑Thu Dec 30, 2021 2:09 pm Approximate-position-searching is another story. As I have read/understood, the original SCID itself can’t do fully that task and it depends on CQL library (the 3rd party coding, so far has been implemented for SCIDvsPc). You made me so confused by confirming surely SCID did but it turns out my understanding is still valid (SCID can do partly only).
that appears to have only ~2.4M games? At least that's the number of moves for startpos. Maybe 380M positions. But yea, chess_pos_db could do that for whole lichess without issues, if these WDL stats are all one needs.Fulvio wrote: ↑Thu Dec 30, 2021 4:56 pm And yet there is a database explorer (https://lichess.org/analysis) where I can study the openings and immediately get the stats for over 380 million games...
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.
Maybe you copied your stockfish commits from someone else too?
I will look into that.
it is 200M only for e4, for total number of games marked as Σ it is nearly 400MSopel wrote: ↑Thu Dec 30, 2021 5:34 pmthat appears to have only ~2.4M games? At least that's the number of moves for startpos. Maybe 380M positions. But yea, chess_pos_db could do that for whole lichess without issues, if these WDL stats are all one needs.Fulvio wrote: ↑Thu Dec 30, 2021 4:56 pm And yet there is a database explorer (https://lichess.org/analysis) where I can study the openings and immediately get the stats for over 380 million games...
edit. okay ,correction, now I saw there's a "lichess" tab, still there's about 200M games "only"