How to use logical operators in Advance Search

When things doesn't work as they should.
Post Reply
Suresh
Posts: 3
Joined: Tue Feb 12, 2019 5:30 am

How to use logical operators in Advance Search

Post by Suresh » Mon Mar 11, 2019 11:39 am

I need to search Logical operators like &,|,not, how to use this feature in mayan-edms advance search. Is there any documents?

User avatar
rosarior
Posts: 194
Joined: Tue Aug 21, 2018 3:28 am

Re: How to use logical operators in Advance Search

Post by rosarior » Tue Mar 12, 2019 4:40 am

For logical and the capitalized word "AND" same for or (OR). For negation use a minus sign. Examples:

blue AND red - results must have both terms.

blue OR red - results can have any.

-blue AND red - results must have the seconds and can't have the first.

For ligations use quotes:

blue red - results can have either: "blue" or "red"
"blue red" - results must have the exact word: "blue red"

User avatar
rosarior
Posts: 194
Joined: Tue Aug 21, 2018 3:28 am

Re: How to use logical operators in Advance Search

Post by rosarior » Tue Mar 12, 2019 4:43 am

The instructions are in the changelog but did not made it in to a documentation chapter, thanks for the heads up!

https://docs.mayan-edms.com/releases/3. ... rch-syntax

Suresh
Posts: 3
Joined: Tue Feb 12, 2019 5:30 am

Re: How to use logical operators in Advance Search

Post by Suresh » Wed Mar 13, 2019 6:38 am

Thanks for the Reply.
Is it possible to give multiple AND or OR condition? for ex. Document type .PDF AND Label 'Mayan File' OR Description 'Mayan is a Good Search Engine'

Post Reply