NotNull wrote: ↑Mon May 01, 2023 8:07 pm
"Command Line" means Searches passed when executing Everything from the DOS Command prompt
.. or similar, like in the registry to create context menu items.
Hi NonNull. [grinOn]Please stop throwing new things at me while I am trying to understand old things[grinOFF] If we stick with the first part of my statement, you think I am basically correct, correct? That is, when I see "Command Line Searches", it's OK for me to think in the context of a search initiated from the DOS CMD prompt, right?
I now think I must embark on a separate area to investigate ~~~controlling search behavior via the Windows Registry ~~~ as well.
For now I should get used to the advantages of Command-line searches.
(1)
In summary, every time you ask Everything to find objects, The Search Preprocessor supplies an intermediate and transient/temporary translation of your request". Is that close to the truth?
The search preprocessor helps in building the actual search query. It gets expanded to an actual (part of the) search.
There is something in a
comment that Raindrops made a couple of months ago.
I have a background in compiler-writing, so "pre-processor" was familiar to me 50+years ago. Today I might call it a "syntax-checker". Whereas a compile of a program on the old mainframes took 30+ minutes and produced an object deck, a pre-process was a simple one-pass scan of the source that reported blatant syntax errors and ran in under 60 seconds. So I have no problem with a pre--processing phase of any type.
In Everything's case the pre-process is more like a translation of a search string prior to its execution. Some people might call that "tokenising"
However :drumroll: from the user's point of view we simply type a string into the Search Box and Everything generates a result List, right?
In that sense we users don't care about how many passes Everything makes across the search string, just as long as we can be confident in the results?
There may be twenty-eight processes, run one after the other, that will in the end produce the Result List. Maybe three hundred pre-processes, but we users don't care, do we?
I will think about whether or not I want to introduce the term "pre-processor. It is fascinating to learn about it, but as far as the (novice) end-user goes, do they need to understand the pre-process in order to encode powerful search Strings (Please answer "No they don't"
)
For example, you know just a filename and want to find files with the exact same size as said filename -- which size is unknown as you only know the name.
The search would be: size:<something>
<something> can be filled in by the preprocessor:
[get-size:filename]
I think this is a great example! As well I think this is a great example of the user NOT needing to know "pre-processor".
size:1000
and
size:[get-size:MyFile.doc]
where the size of MyFile.doc is 1,000 bytes produce the same result,
But the second version is more powerful, more versatile.
(1)I have a foolproof method for dealing with items such as "registry". I create a new document "Registry Doc" with a Heading paragraph and link to the (this) post, and then leave that document dormant until it shows up at the top of the list in date-modified or size sequence
Cheers, and thanks again.
Chris