Fiona Chen
Fiona Chen

Reputation: 1368

MarkLogic String Query NOT NOT_IN logic

Is there String query search grammar as matching occurrences of 'private' and 'doe' and excluding the phrase 'Jane Doe' ?

const searchString = 'private AND doe NOT_IN "Jane Doe" ';

Upvotes: 1

Views: 84

Answers (1)

Fiona Chen
Fiona Chen

Reputation: 1368

It seems below works!

const searchQuery = 'private AND doe - "Jane Doe"';

Upvotes: 1

Related Questions