rejetto forum

multiple words per search & sorting of special characters

ladiko · 5 · 2134

0 Members and 1 Guest are viewing this topic.

Offline ladiko

  • Occasional poster
  • *
    • Posts: 75
    • View Profile
is it possible to search for two words in one file - for example: birthday 2006 if i am searching for the folder / file 2006 - my 26th birthday

and about the sorting of german umlauts and french/italian etc. special characters seems to be not correct. in most languages they are sorted equal or at least next to the "normal" character, but not at the end of all characters.

Code: [Select]
File Size    Location
- - - - - - - - - - - - -
1 B      n.txt
6 B      o.txt
2 B      o.txt
7 B      p.txt
4 B      ò.txt
3 B      ó.txt
5 B      ö.txt
- - - - - - - - - - - - -

the second file (6byte) is named ő.txt (hungarian special character) and is recognized as an normal o so the links directs twice to o.txt, but one of them (the 6byte one) should link to ő.txt
a better sorting would be: n o ó ò ö ő p
windows vistas explorer does it right for me
« Last Edit: November 28, 2007, 11:40:30 AM by ladiko »


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1934
    • View Profile
    • RAWR-Designs
The idea of multiple word search will only increase the amount of recursion HFS will have to do. Iterating through the vfs as many times as words you place in the query.

I agree with your characters, in Spanish 'n' and 'ñ' are next to each other in the language alphabet.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13304
    • View Profile
is it possible to search for two words in one file
 - for example: birthday 2006 if i am searching for the folder / file 2006 - my 26th birthday

yes, search for 2006*birthday
you must know the order of the 2 words.
well, if you are unsure about the order, you can just search another time in the opposite order ;) (this is very unhandy only when you have 3 or more words)

hmm, i guess most people would not guess they have to separate words with *.
I think it would be good to automatically translate spaces with *.
After all, it would find files with just the spaces between the words as well.
Yes, i like this idea.

Quote
and about the sorting of german umlauts and french/italian etc. special characters seems to be not correct. in most languages they are sorted equal or at least next to the "normal" character, but not at the end of all characters.

right...  it is fixed from next beta version (#147)


Offline ladiko

  • Occasional poster
  • *
    • Posts: 75
    • View Profile
ok word1*word2 works great :-) automatic replacing of spaces should not be that difficult or?
but word1 word2 didnt work for me - it is replaced by + to ?/search=word1+word2 but the result is empty

for example if i search for "documents" on C:\ it lists:
Documents
Documents and Settings
My Documents
documents.xml
Recent Documents
if i search for "documents and" on C:\ it lists:
Your search did not return any results


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13304
    • View Profile
ok word1*word2 works great :-) automatic replacing of spaces should not be that difficult or?

no, indeed i already made it, it will be available since next beta version

Quote
but word1 word2 didnt work for me - it is replaced by + to ?/search=word1+word2 but the result is empty

this is a bug.
but i think i fixed it.
next beta. ;)