[go: up one dir, main page]

Menu

Commit [r728]  Maximize  Restore  History

+ fixed ngram-counting bug: count("$p=V*=1 $p=V*=2" #nosep) #by[$l=1,$l=2]

- counts were absurdly high and wrong
- workaround evaluates daughter query in #SEPARATE mode even for count-query in #JOIN mode, but counts each count-key at most once per hit
- generic result-sorting: added CQueryResult::sortByIndex(), ::sortByHit(), and ::mapIndex, struct CQueryResultIndex, and template CResultHitLess<>
~ because new #JOIN counting strategy requires that result hits are sorted by BreakNo
"

mukau 2016-11-29

changed /ddc/trunk/src/ConcordLib/ConcHolder.cpp
changed /ddc/trunk/src/ConcordLib/ConcHolder.h
changed /ddc/trunk/src/ConcordLib/QCount.cpp
changed /ddc/trunk/src/ConcordLib/QCount.h