epam / epam/Indigo

Bingo Elastic exact search results

Open
#771 3 comments 1 reaction 3 assignees Claimed by @MysterionRise View on GitHub
Bingo-Elastic
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

Exact search test for Bingo Elastic fails getting less hits than we have in the reference for three particular molecules: q_55 (on the picture) , q_56, q_57. As the search in Bingo Elastic is carried out using Indigo inside, I attached the tables with indigo.exactMatch results in every case. Please have a look which one is actually correct.

image

It should be mentioned here, that Bingo Postgres passes all the tests, which means it finds all hits from the reference. Here is an example of the difference between Indigo and Bingo Postgres for molecule q_55:

**Indigo**: exact(q_55, mol_393) = 1
**Indigo**: exact(q_55, mol_394) = 0
**Bingo Postgres**: exact(q_55, mol_393) = 1
**bingo Postgres**: exact(q_55, mol_394) = 1

**Indigo**: exact(q_55, mol_393, "ELE STE") = 1
**Indigo**: exact(q_55, mol_394, "ELE STE") = 0
**Bingo Postgres**: exact(q_55, mol_393, "ELE STE") = 1
**bingo Postgres**: exact(q_55, mol_394, "ELE STE") = 1

```
Test refs for EXACT ALL and ELE STE
(same results with Bingo Postgres)

| MOL_393 | MOL_394 | MOL_395 | MOL_396 | MOL_397 | MOL_398 |
----------------------------------------------------------------------
| MOL_55 | X | X | | | | |
----------------------------------------------------------------------
| MOL_56 | X | X | | | | |
----------------------------------------------------------------------
| MOL_57 | | | X | X | X | X |
----------------------------------------------------------------------
```
```
Indigo and Bingo Elastic EXACT ALL

| MOL_393 | MOL_394 | MOL_395 | MOL_396 | MOL_397 | MOL_398 |
----------------------------------------------------------------------
| MOL_55 | X | | | | | |
----------------------------------------------------------------------
| MOL_56 | | X | | | | |
----------------------------------------------------------------------
| MOL_57 | | | X | | X | |
----------------------------------------------------------------------
```
```
Indigo and Bingo Elastic EXACT ELE STE

| MOL_393 | MOL_394 | MOL_395 | MOL_396 | MOL_397 | MOL_398 |
----------------------------------------------------------------------
| MOL_55 | X | | | | | |
----------------------------------------------------------------------
| MOL_56 | | X | | | | |
----------------------------------------------------------------------
| MOL_57 | | | X | | X | |
----------------------------------------------------------------------
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.