Closed jhpoelen closed 3 years ago
After applying a fix the following expected result was seen:
$ echo -e "\tBranta canadensis" | nomer append discoverlife
[main] INFO org.globalbioticinteractions.nomer.match.TermMatcherRegistry - using matcher [discoverlife-taxon]
[main] INFO org.globalbioticinteractions.nomer.match.DiscoverLifeTaxonService - DiscoverLife name indexing started...
[main] INFO org.globalbioticinteractions.nomer.match.DiscoverLifeTaxonService - [50590] DiscoverLife names were indexed in 19s (@ 2662 names/s)
Branta canadensis NONE Branta canadensis
jorrit@lightgrey:nomer$ echo -e "\tApis mellifera" | nomer append discoverlife
[main] INFO org.globalbioticinteractions.nomer.match.TermMatcherRegistry - using matcher [discoverlife-taxon]
Apis mellifera HAS_ACCEPTED_NAME https://www.discoverlife.org/mp/20q?search=Apis+mellifera Apis mellifera speciesAnimalia | Arthropoda | Insecta | Hymenoptera | Apidae | Apis mellifera https://www.discoverlife.org/mp/20q?search=Animalia | https://www.discoverlife.org/mp/20q?search=Arthropoda | https://www.discoverlife.org/mp/20q?search=Insecta | https://www.discoverlife.org/mp/20q?search=Hymenoptera | https://www.discoverlife.org/mp/20q?search=Apidae | https://www.discoverlife.org/mp/20q?search=Apis+mellifera kingdom | phylum | class | order | family | species https://www.discoverlife.org/mp/20q?search=Apis+mellifera
When first matching again discoverlife, expect is that discoverlife is indexed, then results are shown.
However, the following is seen:
Root cause was two indexes using the same configuration, causing the index store to get confused.