PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Wildcard searching not what I expect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wildcard searching not what I expect

    I am running in offline mode and when I search for something like "name*.pdf" it finds:

    name.pdf
    my name.pdf
    names.pdf

    IMO, the only correct one is the last one, names.pdf. The search should actually be looking for any files starting with name and then any number of other characters and ending in .pdf. I have default index options (dots enabled). What is the reasoning on the other hits?

  • #2
    When you do a normal search you are searching all the words in all the documents, web pages, PDF files, etc.. depending on what you have indexed. Not just a file name.

    The wildcard * matches any characters in a word. It doesn't operated over the multiple words.

    So if this was the text of a document (or a file name),
    The brown cow jumped over the moon

    Then you can't do a search for,
    The*moon
    and get a hit as the wildcard character doesn't operate over the entire text of the document. It just operates on words.

    Comment

    Working...
    X