Changes between Version 8 and Version 12 of Ticket #6994


Ignore:
Timestamp:
10/20/2018 11:37:02 PM (12 months ago)
Author:
jsonesen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6994 – Description

    v8 v12  
    55 
    66=== What to change === 
    7 Add a `isLocationOnly` property to the RegExpFilter class and a new `locationFilterByKeyword` to the constructor. 
     7Add a `isLocationOnly` property to the RegExpFilter class and a new `locationFilterByKeyword` to the Matcher constructor. Also filters must not be stored twice so when adding fastfilter-by-keyword skip adding to the filter-by-keyword map. 
    88 
    99Change `_checkEntryMatch` in `lib/matcher.js` to initially loop through location only filters checking for matches using `location.test(filter.regexp)` Additionally, in `_checkEntryMatch`, if `typeMask & RegExpFilter.prototype.contentType == 0` is true, these filters should be skipped entirely.