Word in an RTF file not found
Word in an RTF file not found
I just came across a word, that my content search won't find in an RTF file. The file type is included in 'index file content', and another search term from the same file is found. That's strange. I am re-indexing now, but i did that the night before already. How can words slip through? Is it maybe, because there was a full stop '.' right after it?
Re: Word in an RTF file not found
Check the content Everything is reading with:
*.rtf addcolumn:a a:=$content:
*.rtf addcolumn:a a:=$content:
Re: Word in an RTF file not found
No, that's no problem.
I have many indexed RTF files with no problem to find words with a full stop after them.
______________________________________________________
Windows 11 Home x64 Version 23H2 (OS Build 22631.3235)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2
-
- Posts: 684
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Word in an RTF file not found
Append Void's string to your existing search string as shown below:- Don't do what I did: paste it into the search box as the only item.
(I stopped it after the content of the first couple of hundred files had been displayed!)
Hope this helps
Chris
-
- Posts: 684
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Word in an RTF file not found
What would be really cool/neat, a preface to every other post in the Everything Forums, would be an in-context display, such as in the original IBM KWIC
In my example posted in response to abr01, my column would display, say, 80 characters centred on the string "Governor" Would I be pushing my luck if I enquired about the possibility of prefacing the ColumnA with a Count of occurrences of the string within each found document?
Would I be pushing my luck even further if I enquired about the possibility of the user specifying the number of characters preceding the displayed in-context content ("Governor" in my examples)
And how far out of line would I be if I enquired about the possibility of the user specifying a few more bells and whistles that I am too afraid to mention, unless prompted?
Thank you
Chris
Re: Word in an RTF file not found
No, that search term is still not found. Funny thing, i can find other words from the same document. Note, that i use a filter already, to find that file inside an RTF. Not sure, if that works with that line in combination with the filter.ChrisGreaves wrote: ↑Sun Mar 10, 2024 4:28 pmAppend Void's string to your existing search string as shown below:-Untitled.pngDon't do what I did: paste it into the search box as the only item.
(I stopped it after the content of the first couple of hundred files had been displayed!)
Hope this helps
Chris
Re: Word in an RTF file not found
Please try the following:
- set the current filter to Everything
- Put the following search in the search bar
What is shown in Column A? Does your word show up?
- set the current filter to Everything
- Put the following search in the search bar
Code: Select all
"C:\path to\your\problematic_file.rtf" addcolumn:a a:=$content:
Re: Word in an RTF file not found
No, it doesn't show up. And if i use another word, that is in the text, the whole text content of the RTF will be shown in column A, as i can tell by the mouseover info tip. Once i use the original search term, which in this case is 'gua sha', nothing will be displayed. I will be able to check this on a different machine with a freshly indexed Everyting 1.5 Alpha. Should it fail, i would upload that file for you guys to run a test.
I also tried to copy the search term directly, in case some very similar looking characters were used, but that wasn't the case. Thanks!
I also tried to copy the search term directly, in case some very similar looking characters were used, but that wasn't the case. Thanks!
Re: Word in an RTF file not found
Could it be, that just searching for
gua sha
(two single search terms in the content search box ) simply isn't appropriate? Seems, like we sometmes have to place < > around the search terms? Because now i can find that search words in the Content search. But in other cases, just using both search terms is enough.
Sorry for the confusion. It seems, like i need to use brackets in the filter functions.
gua sha
(two single search terms in the content search box ) simply isn't appropriate? Seems, like we sometmes have to place < > around the search terms? Because now i can find that search words in the Content search. But in other cases, just using both search terms is enough.
Sorry for the confusion. It seems, like i need to use brackets in the filter functions.
Re: Word in an RTF file not found
Another observation:
I ran a test on the same document searching for a combination, that is included, 'decrease sebum'. Which was giving me the correct RTF, but also a bunch of other documents, which seemed suspiscious to me, since i wouldn't expect the very rare word 'sebum' to be found in science fiction novels.
And sure enough, there was only a reference to the first search term in those results. Is this a glitch? Or is there an explicite syntax for this case?
EDIT/ i found the reason. The other documents contain the word goosebumps! That explains it. Got to learn much more about exact syntax quirks in Everything.
I ran a test on the same document searching for a combination, that is included, 'decrease sebum'. Which was giving me the correct RTF, but also a bunch of other documents, which seemed suspiscious to me, since i wouldn't expect the very rare word 'sebum' to be found in science fiction novels.
And sure enough, there was only a reference to the first search term in those results. Is this a glitch? Or is there an explicite syntax for this case?
EDIT/ i found the reason. The other documents contain the word goosebumps! That explains it. Got to learn much more about exact syntax quirks in Everything.
Re: Word in an RTF file not found
The content search syntax is:
*.rtf content:"abc 123"
Use double quotes to match literal spaces.
*.rtf content:<abc 123>
*.rtf content:abc content:123
The space is the AND operator.
Use < and > for grouping.
*.rtf content:<abc|123>
*.rtf content:abc|content:123
The | is the OR operator.
*.rtf content:"abc 123"
Use double quotes to match literal spaces.
*.rtf content:<abc 123>
*.rtf content:abc content:123
The space is the AND operator.
Use < and > for grouping.
*.rtf content:<abc|123>
*.rtf content:abc|content:123
The | is the OR operator.
Re: Word in an RTF file not found
Thanks void. I will collect the most important syntaxes in a text file from now on.