logic: fixed missing matches in fulltext search

This commit is contained in:
mlangkabel
2018-04-24 19:18:26 +02:00
parent bac9f7fbc4
commit d29cabd0b3
4 changed files with 27 additions and 17 deletions
@@ -1651,7 +1651,7 @@ void GraphController::groupTrailNodes(GroupType groupType)
groupNode->groupLayout = GroupLayout::SKEWED;
// Use token Id of first node and make first 2 bits 1
groupNode->tokenId = ~(~size_t(0) >> 2) + node.nodeId;
groupNode->tokenId = ~(~Id(0) >> 2) + node.nodeId;
m_topLevelAncestorIds[groupNode->tokenId] = groupNode->tokenId;
std::shared_ptr<DummyEdge> targetEdge = std::make_shared<DummyEdge>();