[go: up one dir, main page]

Menu

Commit [r148]  Maximize  Restore  History

v2.0.21-pre1 Fri, 21 Mar 2014 11:08:02 +0100 moocow

+ fixed mantis bug #651 : bogus highlighting for near/2
- problem was overlapping matches some of which crossed sentence boundaries
- the bogus cross-boundary matches were getting mis-interpreted in CQueryNode::ConvertOccurrencesToHitsForPatterns()
- workaround tracks current break start as well as end, but may potentially miss some overlapping occurrences if
(as in the case of near()) m_Occurrences[] aren't sorted in strictly break-increasing order
and (as is hopefully NOT the case for near()) if the valid matches in m_Occurrences[] also arent't sorted in
strictly break-increasing order

mukau 2014-03-21

changed /ddc/trunk/Changes
changed /ddc/trunk/configure.ac
changed /ddc/trunk/doc/querydoc/querydoc.html
changed /ddc/trunk/doc/querydoc/querydoc.pod
changed /ddc/trunk/src/ConcordLib/QueryNode.cpp