How to use es.exe to search two keyword in content

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
jimmy
Posts: 2
Joined: Mon Sep 02, 2024 3:38 am

How to use es.exe to search two keyword in content

Post by jimmy »

hello,I have a problem with es.exe.i don't know how to search two keyword.i want search kk or zz in content.
i had try:
es.exe -instance 1.5a ext:doc;docx content:'"zz" "kk"'
es.exe -instance 1.5a ext:doc;docx content:'"zz" '| "kk"'
es.exe -instance 1.5a ext:doc;docx content:zz OR kk
but it doesn't work , i don't know how to use about this.i saw the document,but can't find how to use .please help me , thank you!
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to use es.exe to search two keyword in content

Post by void »

Please try the following es calls:

Code: Select all

es.exe -instance 1.5a ext:doc;docx content:zz content:kk
es.exe -instance 1.5a ext:doc;docx content:^<zz kk^>
Use ^< and ^> to escape < and >
jimmy
Posts: 2
Joined: Mon Sep 02, 2024 3:38 am

Re: How to use es.exe to search two keyword in content

Post by jimmy »

thank you ! it's worked!
Post Reply