Advanced Search: "None of these words"

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Advanced Search: "None of these words"

Post by Timur Born »

Hello,

recently I stumbled over a problem with Editor's advanced search. There is an option called "None of these words", which generally works as intended. But there is a strange problem when short words are used in this.

For example:

I search for the word "primary", which only appears a single time in the document within the context "isn’t a primary focus in". Proximity is set to "Only adjacent words".

Search fails to find the sentence if I put the following into the "None of these words" field:

- Most single letters (a-z) or numbers (0-9). Special chars like + or ö do work, though.
- Many two character combinations. aa finds nothing, bb finds nothing, ba finds nothing, but aa finds the text.
- Several three character combinations. azy finds nothing, 123 finds nothing, but ayz and 124 find the text.

Combinations of space and numbers also fail. If I want to find all instances of "word xyz" and exclude "word 2 " then entering "2 " or " 2 " in the exclusion field should suffice, but it does not. Instead I have to enter the whole "word 2 " into the exclusion field.
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm

Re: Advanced Search: "None of these words"

Post by Will - Tracker Supp »

Hi Timur,

Can you send a screen-shot to show your exact search terms and settings? I'd like to mimic them exactly.

Please also send the document (unless the document is the one described here: https://forum.pdf-xchange.com/ ... 63&t=28098 - I have that doc. to hand already :) ).

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Re: Advanced Search: "None of these words"

Post by Timur Born »

Hi Will,

it's the same document. ;) Just use Advanced search and search for the term "primary" and then combine it just like I did in the examples. Screenshot coming in a minute...
Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Re: Advanced Search: "None of these words"

Post by Timur Born »

advanced_search.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm

Re: Advanced Search: "None of these words"

Post by Will - Tracker Supp »

Tanks for that Timur - That's a pretty odd one, but I've reproduced it here and have created ticket RT-3979.

Sorry about that!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Re: Advanced Search: "None of these words"

Post by Timur Born »

This still doesn't seem to work as expected. When I search for (only adjacent words) "primary" and enter "center" in the "None of these words" field then I only get a single result "primary purpose". Instead it should also list "primary target", "primary antagonist", "primary supplier", "primary attacks" and "primary purpose". I do get these results when I enter "primary center" (including quotation marks) in the "none of these words" field.

When I enter "purpose" in the "none of these words" field then I only get results for "primary target" and "primary center", while the others are missing again.

Has this been worked on yet?
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Advanced Search: "None of these words"

Post by Daniel - PDF-XChange »

Hi Timur,
could you please re-link the document here, the only one in the other thread I can find is about a pathfinder like adventure from what I can discern. and does not have enough variation to test this situation.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Re: Advanced Search: "None of these words"

Post by Timur Born »

It's copyrighted material. But I think it would be good if you invested $9.99 to get the Pathfinder Core Rulebook. This is a 578 pages PDF full of images and text that can be used for several testing purposes with XC Editor.

http://paizo.com/products/btpy88yj?Path ... e-Rulebook

For our search issue here you can find:

- 9 results for "primary hand", including quotation marks.
- 1 result for "primary hand" (two space characters), including quotation marks.
- 10 results for primary hand, excluding quotation marks (adjacent proximity).

- 31 results for "primary".
- 22 results for "primary" with "primary hand" (one space) entered as "none of these words"
- 0 results for "primary" with primary hand (no quotation marks) entered as "none of these words".
- 6 results for "primary" with "hand" entered as "none of these words" (adjacent proximity).

I would expect 21 results for the latter, but maybe I just understand the functionality of the search dialog wrong?!
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Advanced Search: "None of these words"

Post by Daniel - PDF-XChange »

Ive Just spoken with Vasyl about this and he said he's been working on this recently.
He hopes to have it working in the next build or two, No guarantees, but we can be hopeful!
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Timur Born
User
Posts: 881
Joined: Tue Jun 26, 2012 1:50 pm

Re: Advanced Search: "None of these words"

Post by Timur Born »

Good to know, thank you!
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Advanced Search: "None of these words"

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com