Page 1 of 1

Quick Search function

Posted: 2006-11-03, 11:26 UTC
by rmth2
I have files like below for example.

index-cost-estimation.html
index-functions.html
index-locking.html
index-scanning.html
index-unique-checks.html
index.html
indexam.html
indexes-bitmap-scans.html
indexes-examine.html
indexes-expressional.html
indexes-multicolumn.html
indexes-opclass.html
indexes-partial.html
indexes-types.html
indexes-unique.html
indexes.html

If I use quick search (my settings is ALT + Letters) it is not possible to find index.html for example or indexes.html.
The problem points to "." (dot) sign in matching when is more files with the same first searched signs in filename.

The problem was in v6.55 as well

Posted: 2006-11-03, 11:48 UTC
by icfu
No problems with the dot or something else regarding these files here.
Are you sure you are using TC 7? If yes, please explain more specific what works and what not, also consider creating a vid, if it gets too complicated:
http://ghisler.ch/board/viewtopic.php?t=12078

Icfu

Posted: 2006-11-03, 13:06 UTC
by rmth2
Here you are.
video file
Yes I used 6.55 and I use 7 pb now

You must have "sort by" set to option where index.html it is not the first file in the list of files[/url]

Posted: 2006-11-03, 17:30 UTC
by icfu
I have checked your vid and made sure than index.html is not on top of the list and cannot confirm any problems. Maybe OS related? XP SP2 here.

What I am wondering about:
Why is no Browser icon displayed for your HTML files? Are you sure that the dot in these filename really is a "real" dot and not some similar looking char?

Does it work with other testing files as expected? Does it work if ONLY index.html is in a directory and you enter index. in a quick search box? Recreate a fresh testing file for that.

Well, you see that speculation is needed here, so maybe someone else can reproduce that or has another idea...

Icfu

Posted: 2006-11-03, 17:39 UTC
by Sheepdog
2rmth2

What are your settings in Configuration->Options->Quicksearch:Exact Name match?

I did not test your example, but maybe this setting is the culprit for the unexpected behavior.

sheepdog

Posted: 2006-11-03, 17:52 UTC
by icfu
That's it! :)

If "Ending" is unchecked, I can reproduce it – as expected. Interesting feature. ;)

Icfu

Posted: 2006-11-03, 18:05 UTC
by ghisler(Author)
You can configure this behaviour now. In Configuration - Options - Quick search, check both the "Beginning" and "Ending" exact match options. You will have to type a * to turn off exact match.

Posted: 2006-11-03, 19:05 UTC
by rmth2
Thank you very much for suggestions. It works now.
I think it would be fine check this option by default ;-)

Posted: 2006-11-04, 17:07 UTC
by Hacker
[mod]Moved to TC 7 beta discussion.

Hacker (Moderator)[/mod]