-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
const data = [
{ name: 'C-3PO' , description: 'Protocol droid.' , species: 'Droid' },
{ name: 'R2-D2' , description: 'Astromech droid built on Naboo.', species: 'Droid' },
{ name: 'Anakin Skywalker', description: 'Fallen Jedi, the chosen one.' , species: 'Human' },
{ name: 'Obi-Wan Kenobi' , description: 'Jedi Master.' , species: 'Human' },
{ name: 'Moon Moon' , description: 'Mentally challenged wolf.' , species: 'Wolf' },
];
console.log(data.filter(lucene('NOT anakin')));
Expected: All items except Anakin
Current result: Shows just Anakin. I.e. it ignores the "NOT" clause.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels