Posted By: Michael Griffiths | Aug 21st, 2008 @ 4:14 PM
page 1 of 1
Comments: 14 | Views: 1296
Michael Griffiths
Michael Griffiths
Fatalism.

A few months ago - in May - I turned on Natural Language Search in Vista.

I thought it was a good idea.

I didn't notice anything initially, just a failure to work very well when I tried things like "all documents created yesterday."

In June, I installed Windows Search 4.0. I noticed no speed up; if anything, the speed was terrible.

Today, once again waiting for the start menu search to respond after 10 seconds, I finally had enough and set out to make search faster. Needless to say, the first thing I did was go and restore defaults.

Which lead me to disable Natural Language Search.

Which lead to Vista's search response time going from 10+ seconds to under 1 second.

I must conclude that the Natural Language Search option is really bloody slow.

Seriously, what kind of parsing is Windows doing? I can think of a few things I'd like it to do - entity extraction in search string matched to entities extracted from documents, common language components, e.g. support for "all," "only", etc - but how on earth does that take 10 to 15 seconds?

Anyone else get the same speed decrease when Natural Language Search is enabled?

tell ... me... about it.



*looks like bill gates deposition...

(humor!)
PaoloM
PaoloM
Hypermediocrity
Parsing is pretty much istantaneous. What would be interesting is the see the final query as it's sent to the index.... I can take a stab at figure that out tomorrow, but Brandon probably knows better than me how to do that Smiley
Parsing should take exactly the same amount of time whether it's using NQS (natural language queries) or AQS (regular searches / advanced query syntax).

If you're waiting 10-15 seconds for search results something is wrong.  How many items are in your index according to the control panel?

What sort of machine specs are we talking about?
BlackTiger
BlackTiger
If you stumbled and fell down, it doesn't mean yet, that you're going in the wrong direction.
It not only sloooow... It's wroooooong as well. Smiley

PaoloM
PaoloM
Hypermediocrity
It also fails to find basic things; if I search for "movie" it won't find Windows Movie Maker. Search for "photo," it doesn't find Windows Photo Gallery (or Windows Live Photo Gallery), etc. Things like that. AQS works perfectly; finds everything.

Well, I know the answer to this one Smiley

In NQS, a query like "photo of Venice" will be interpreted as "CONTAINS("Venice") AND kind='photo'" (or something similar Smiley). This means that certain keywords like photo, music, movie, etc are overloaded in meaning as to indicate the type of item you're looking for.

Also, if your type "note" in AQS, you get Notepad.exe, in NQS you don't (kind='note') Smiley

It's a somehow odd behavior that we're tracking and thinking on how to improve or make more understandable.
Works just fine for me. 1-2 second response.
W3bbo
W3bbo
The Master of Baiters
Wouldn't it be more pragmatic to let people type in say... raw SQL? (or some more appropriate search instruction).

You get the benefit of knowing exactly what the computer is searching for, simpler parsing, and if it's well done it should closely resemble English anyway.
W3bbo
W3bbo
The Master of Baiters
I was using SQL as an example. But I'm thinking of something like AppleScript: it resembles English language anyway, but it's a very strongly structured language that has zero ambiguity.

But anyway, how about introducing a simple criteria engine that accepts data like so:

"type={extension or mime-type},contains={wildcard or regular expression},in={directory wildcard},modb4={date}"


You mean like... AQS?  That's been in WDS since the beginning.  Just enter "type:picture" or "author:brandon"
page 1 of 1
Comments: 14 | Views: 1296
Microsoft Communities