How do I stop PDF files from appearing when search for .DOC?

Check in here for general discussion about Search Version 8

Moderator: Mods

How do I stop PDF files from appearing when search for .DOC?

Postby shiphen » Mon Dec 07, 2020 12:08 pm

Hello

How can I stop .PDF files from appearing when I just want to show ms Word files (.DOC and .DOCX)
e.g. If I have type "doc= OR docx=" into the Type field, I seem get .PDF format files appearing too.


Image

With thanks

J
shiphen
X1 Super User
X1 Super User
 
Posts: 147
Joined: Thu Nov 19, 2009 11:00 am

Re: How do I stop PDF files from appearing when search for .

Postby x1yoga » Tue Dec 08, 2020 5:42 pm

You can add the option -pdf to the search terms in that column.
x1yoga
 
Posts: 8
Joined: Sun Nov 29, 2020 8:09 pm

Re: How do I stop PDF files from appearing when search for .

Postby shiphen » Wed Dec 16, 2020 7:30 am

x1yoga wrote:You can add the option -pdf to the search terms in that column.


Please can you give me an example?
e.g. Right now in the Type field I have "doc= OR docx=" [without the quotes]
Are you suggesting that I would change this to "doc= OR docx= OR -pdf"?
If so, that doesn't work!

Thanks

J
shiphen
X1 Super User
X1 Super User
 
Posts: 147
Joined: Thu Nov 19, 2009 11:00 am

Re: How do I stop PDF files from appearing when search for .

Postby x1yoga » Wed Dec 16, 2020 3:20 pm

It's probably because there's an OR in the box as well. If you type

(doc= OR docx=) -pdf

in that box, it should work. It means

(either of these two), but not that one

At least, that's how it used to work!

Alternatively, you can clear all that and instead type

msWord

Downside: it would probably also include msWord macros, templates, etc.
x1yoga
 
Posts: 8
Joined: Sun Nov 29, 2020 8:09 pm

Re: How do I stop PDF files from appearing when search for .

Postby shiphen » Mon Jan 11, 2021 1:25 pm

Thanks

In the end I seem to have solved the problem by adding the full name of the file type which - separately - I have changed.
i.e. I add
".DOC (msWord 97 - 2003 Document), .doc" OR ".DOCX (msWord Document), .docx"

which seems to work!

J
shiphen
X1 Super User
X1 Super User
 
Posts: 147
Joined: Thu Nov 19, 2009 11:00 am


Return to General Discussion V8

Who is online

Users browsing this forum: bettyeqo69, DwightDiuse, kapriolqhm, PeterDap and 39 guests