Closed berger-n closed 5 years ago
Fixed as of commit cbe74a6 . the count node is actually the number of sub-categories in the tree for a given Taxonomy/Topic. We had count=-1 in the previous implementation for all leaves of the tree, (-1 being the default value). In this implementation, there is (logically) no count node for the leaves of the Tree.
I'm not sure what you mean here...
let's take a look at this brand new data http://library.bdrc.io/search?q=%22manjusri%22&lg=sa-x-ndia&t=Work for a change
aren't the numbers supposed to tell user how many works there are in given topic/subtopic ?
Right, my mistake ! And the -1 issue occurs only on each leaf of the Taxonomy Tree. More to come...
Fixed !
query http://purl.bdrc.io/lib/workFacetGraph?LG_NAME=en&I_LIM=500&L_NAME=%22%27od%20zer%22 returns a tree having some topics with count equal to -1:![image](https://user-images.githubusercontent.com/33383857/46524116-12201500-c888-11e8-8e2c-e8992f9ff5ac.png)