Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Paul <nospam@needed.com> |
|---|---|
| Newsgroups | alt.computer |
| Subject | Re: Search in Win7 |
| Date | 2016-05-28 01:15 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <nib9bf$n41$1@dont-email.me> (permalink) |
| References | <M%62z.104874$0E4.43535@fx34.iad> |
Robert Baer wrote:
> The "search" facility, to be polite,stinks.
> On this one computer, i see folders and files with the characters
> "rent" (no quotes) as a part of the name.
> NONE FOUND.
> I try "RENTAL FORMS" which is the explicit name,which is EXACTLY the
> name for at least two folders (ie: all upper case characters).
> NONE FOUND.
> I try "RentAgree" which is part of the name for at least 3 folders.
> NONE FOUND.
> If I try "9RentAgree" which is first part of the name for at least 2
> folders, they are found; there should be more.
> Ditto for "10RentAgree" and "11RentAgree".
> Not only is the search crap, but it takes a loooong time, and the
> computer is only 1 day old (read: no crapola files,programs, etc).
>
> Is there a decent search program for Win7 and possibly allows file
> types as well? Added options for system, hidden, date(range), type.
> Default searches all folders and sub-folders.
>
> Inexpensive?
We were having this discussion just today.
Win7 search has a learning curve. It's not ready out
of the box. And users are surprised/shocked when
their first attempt at a search, yields nothing.
The Win7 search can search based on both file names
and on content. If you don't configure it properly, it
*can* attempt a file name search by grinding the disk
drive for you. Then you see that green bar slowly
progress across the screen. But then of course, it
will receive a bad reputation for doing that.
Go to Control Panels, and look for the Search Indexer
control panel. In there, you can modify the portion
of the disk being indexed.
The indexing operation, is a scan of the file system
that "builds" an inverted index for you. To build an
index of the entire C: (fresh install) takes around
three hours. And then you get more search results.
While the search indexer contains a tick box to turn
off content indexing (in an attempt to convert it into
a filename only indexer), that doesn't work. The design
is pig-headed, and always indexes the content. So the
tick box is pointless.
But each kind of document, needs an indexer to be
written for it. Say you have some LibreOffice documents
in a folder, and expect the content inside the document
to be indexed. Maybe you find that a search doesn't
uncover the content in there. On the other hand,
perhaps Microsoft writes a plugin for Office documents,
making them indexable. The Win7 search is not a
"scavenger". It doesn't "run grep on binaries" or
anything. Each file type handled, needs an intelligent
parsing thing to extract content in a meaningful way.
While many types are handled for you, there can be
gaps in the coverage.
For example, if you take photos and they have EXIF inside,
the indexer can record the EXIF info. Say you want to
do a search on camera:Nikon , it could return all the
photos shot on your Nikon camera. This works as long
as the search indexer has a thing to read the EXIF.
If there was an unknown annotation method inside the
photo, the indexer would never know, and a search
would never find it.
*******
Most users are not willing to spend several days
researching how this indexer and searching work.
For them, there is the (slow but reliable)
Agent Ransack.
http://www.mythicsoft.com/agentransack
http://image.mythicsoft.com/agentransack/main_2014.png
It has a line for filename. There is a separate line for content.
You can set it to search in a single folder. You
can have it search every partition on the computer
(how mine is typically set).
If you go to Options, it supports regex. For example,
this finds all filenames beginning with Rent.
^rent
This finds all filenames ending in rent (which isn't likely)
rent$
And this specifies just exactly one filename.
^rentagree\.txt$
The backslash declares the period to be literal, and
not to be interpreted as a regex operator. The caret
and dollar are the anchors. If you have regex turned off,
this does the same thing
rentagree.txt
except that it would also return this file. It wild
cards and finds all of them. If you use Regex format,
you can prevent this one from showing up in the
result.
myrentagree.txt
Normally the search would automatically match
every file with rentagree in it. Maybe a dozen
files show up on this search.
rentagree
But if you spell out in detail what you want, and
have regex enabled, you can reduce the "noise" in
the returned result considerably.
*******
Another search program is Voidtools Everything.exe
http://www.voidtools.com/downloads/
The claim to fame for that one, as a filename
searching tool, is it reads the $MFT directly
on the partition. It can get all the filenames
in about 2 seconds by doing that.
But, if the tool also wants to get other details
about the files, like creation date or size, that
may still require "grinding" the disk.
I have not used Everything.exe for its intended
purpose, but I have used it on the command line,
in an attempt to generate a CSV format file with
all the filenames in it.
Since I already had Agent Ransack set up, I didn't
bother setting up a second one just for fun. The
Everything.exe approach could potentially be a lot
better (from a speed perspective), but once
Agent Ransack has the partition information
stored in the system file read cache, it can
be pretty fast. As a result, Agent Ransack is
left running all day, so I can take advantage
of the (expensive) first search in the morning
that helps fill up the cache.
I think you'll find that installing Agent Ransack,
that rental agreement will be in your hands a
minute from now. And all of this will be a bad
memory.
I do have the Windows Indexer programmed on some
of my OSes here, so I haven't given up on it
entirely. But it did take a while to learn about it.
The ESE (Jet) database the Windows Search creates,
is around 500MB in size. And that's what it consults
when it wants to find content. That's the inverted
index, that knows all the documents that have the
word "the" in them. And if you were worried for
some reason, about grinding the disk, you can
move the ESE-containing directory to a second disk
drive, so the indexer parses C: and builds the
index file on D: (located on a second hard drive).
You can do that if you want, and I tried that
just to see what all the fuss was about.
Paul
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Search in Win7 Robert Baer <robertbaer@localnet.com> - 2016-05-27 18:03 -0800
Re: Search in Win7 Paul <nospam@needed.com> - 2016-05-28 01:15 -0400
Re: Search in Win7 Robert Baer <robertbaer@localnet.com> - 2016-05-28 16:38 -0800
Re: Search in Win7 tony sayer <tony@bancom.co.uk> - 2016-05-29 21:58 +0100
Re: Search in Win7 Paul <nospam@needed.com> - 2016-05-29 18:33 -0400
Re: Search in Win7 tony sayer <tony@bancom.co.uk> - 2016-05-30 13:26 +0100
Re: Search in Win7 Robert Baer <robertbaer@localnet.com> - 2016-05-30 18:50 -0800
Re: Search in Win7 Paul <nospam@needed.com> - 2016-05-31 05:57 -0400
Re: Search in Win7 Robert Baer <robertbaer@localnet.com> - 2016-06-02 01:03 -0800
Re: Search in Win7 Paul <nospam@needed.com> - 2016-06-02 12:06 -0400
csiph-web