Searching for an exact phrase

Bugs - Put em' here! We'll Squash them.

Moderator: Mods

Searching for an exact phrase

Postby mike.scott@kal.com » Tue Nov 20, 2018 9:53 am

want to search for an exact phrase i.e. "Windows Version". By exact I expect only that phrase to be found and not for example "WINDOWS.
*
* ***************** Version"

to be found. Based on the help info I tried "Windows Version" but got both this exact phase and often also the latter.

Please can anyone advise how to do an exact phase search in X1?

Any ideas how to filter results to specific file types? in the complete set of results there are a number of .cpp source files containing the exact phase but when I add cpp as a filter for file type bingo no results. If I change to pdf as file type some but not all pdfs from complete list are shown.
To me this is so obviously wrong I can not image this this is by design.

Am running 8.6 6003ch(64 bit) on Win 10x64
mike.scott@kal.com
 
Posts: 3
Joined: Tue Jun 05, 2018 5:35 am

Re: Searching for an exact phrase

Postby Kenward » Wed Nov 21, 2018 4:46 am

Put the phrase in quotes.

"Windows Version"

not

Windows Version
MK
X1 Search 8.6.1 - Build 6003fa (64-bit)
Windows 10 Pro 64-bit | Windows 10 Home 32-bit
No, I have nothing to do with X1, just a user since 2004.
Kenward
X1 Guru
X1 Guru
 
Posts: 4143
Joined: Tue Apr 20, 2004 2:35 am
Location: UK

Re: Searching for an exact phrase

Postby mike.scott@kal.com » Fri Dec 21, 2018 10:18 am

Thanks for the reply but as you can see from my question I do put it in quotes But X1's definition of exact is not the same as mine as it finds many alternatives that are not exactly the same as the phrase specified - I am assuming that it has a collection of characters that are not spaces that it treats to be the same as space. Anyway to turn that off??
mike.scott@kal.com
 
Posts: 3
Joined: Tue Jun 05, 2018 5:35 am

Re: Searching for an exact phrase

Postby Kenward » Sun Dec 23, 2018 8:06 am

It might help if you could illustrate your issue with a real example of a mis-hit.

The "example" in your first message makes no sense to me.

All I ever get when searching for "Windows Version" is stuff that shows "Windows Version". Nothing extraneous in the results.
MK
X1 Search 8.6.1 - Build 6003fa (64-bit)
Windows 10 Pro 64-bit | Windows 10 Home 32-bit
No, I have nothing to do with X1, just a user since 2004.
Kenward
X1 Guru
X1 Guru
 
Posts: 4143
Joined: Tue Apr 20, 2004 2:35 am
Location: UK

Re: Searching for an exact phrase

Postby Kenward » Sun Dec 23, 2018 8:20 am

mike.scott@kal.com wrote:Any ideas how to filter results to specific file types? in the complete set of results there are a number of .cpp source files containing the exact phase but when I add cpp as a filter for file type bingo no results.


I assume that you have added .cpp to the files that you want X1 to index?

Add Files

It won't find them if you don't ask it to do so.
MK
X1 Search 8.6.1 - Build 6003fa (64-bit)
Windows 10 Pro 64-bit | Windows 10 Home 32-bit
No, I have nothing to do with X1, just a user since 2004.
Kenward
X1 Guru
X1 Guru
 
Posts: 4143
Joined: Tue Apr 20, 2004 2:35 am
Location: UK


Return to Bugs V8

Who is online

Users browsing this forum: No registered users and 18 guests

cron