Sort predications table by evidence (pmids) count.
Issue #6
new
No description provided.
Comments (9)
-
-
Seems like that count should be pre-computed and stored in the table ?
-
I suppose that we could do that every time we update the database...
-
- changed milestone to GBK Discovery Desktop
-
This is important but we could go forward without it for the implicitome timed-release. I think it relates to general all-database update cycle that we will want to move towards.
-
- changed title to Sort predications table by evidence (pmids) count.
- edited description
Count is displayed now, just not sortable.
-
- changed milestone to Knowledge.Bio Discovery Desktop
-
- changed component to Post-Implicitome Paper / Pre-TNG Knowledge.Bio Enhancements
- changed version to 1.1.0
-
-
assigned issue to
-
assigned issue to
- Log in to comment
The first part of this issue - displaying the number of sentences supporting a predication - was implemented some time back. I only just now took a closer look at the second part - in parenthesis - that this column be a sortable column, and have realized that the way that the server-side paging of results from explicit predication lookup is performed, I actually defer the computation of numbers of evidence sentences until after I filter by pages, since each 'evidence' requires a fresh query on the database to compute the number.
I'm going to try to modify the paging code to accommodate sorting of evidence by count, but I strongly suspect that this will be an enormous performance penalty, especially, for large datasets.