http://qs1969.pair.com?node_id=11106440

Hello, I tried to supersearch about "trie", but many other words occurred as search result. How can I set borders to the word?

Replies are listed 'Best First'.
Re: supersearch: how to match words?
by LanX (Saint) on Sep 20, 2019 at 16:09 UTC
    I suppose you mean "standalone" word.

    One way

    ?node_id=3989;BIT=%20Trie%20;BIS=%27

    Surround it with spaces but change the string separator to something different than spaces.

    I chose a single quote ' here as separator but anything different goes, even XXX

    ?node_id=3989;BIT=%20Trie%20;BIS=XXX

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

    Update

    NB any instance of "trie" surrounded by anything else than spaces, like punctuation would be missed though.

    Like trie! at the end of a phrase.

Re: supersearch: how to match words?
by jdporter (Paladin) on Sep 20, 2019 at 16:40 UTC

    Another thing is to add the substrings you don't consider hits to the "skip text" and "skip titles" fields:

    ?node_id=3989;BIT=Trie;BET=tries%20tried%20triev;HET=tries%20tried%20triev

    Of course, that isn't perfect either, especially if "tries" - plural of "trie" - shouldn't be excluded.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re: supersearch: how to match words?
by Corion (Patriarch) on Sep 20, 2019 at 16:08 UTC

    By default, Super Search searches for substrings as well. There is no easy way to search for exact words without searching for substrings. You can do so by using an alternate search term separator and then searching for trie_ (blank replaced by underscore here for emphass), but that will again miss stuff in your node, like "trie".

    ?node_id=3989;BIT=trie%20;BIS=%20-

Re: supersearch: how to match words?
by Your Mother (Archbishop) on Sep 20, 2019 at 16:00 UTC
Re: supersearch: how to match words?
by rsFalse (Chaplain) on Sep 20, 2019 at 17:31 UTC
    Thank you for answers! :(
      Your welcome! :(