Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Nature of (Super )?Search queries ?

by kvale (Monsignor)
on Mar 24, 2006 at 19:19 UTC ( #539073=monkdiscuss: print w/replies, xml ) Need Help??

I propose that the help node for the Search and Super Search facilities, Using the Simple Search, be updated to explicitly say what sort of search strings are allowed.

Empirically, I have found (single quotes here bracket the search expressions used)

  1. 'kvale' and 'kv' find my home node, but 'kva+le' does not. So exact words and and exact substrings are allowed, but regexes are apparently not.
  2. 'kv and ale' does not perform a proper conjunction, but 'kv && ale' does.
  3. in the expression 'kv ale' the space represents an implied or between 'kv' and 'ale'
  4. '! kvale' returns kvale as a node, so doesn't seem to work
  5. ' (kv && ale)' does not return my homenode, so grouping does not seem to work.
Any other rules?


Replies are listed 'Best First'.
Re: Nature of (Super )?Search queries ?
by tye (Sage) on Mar 24, 2006 at 19:49 UTC

    Quoting Super Search, "Match text containing [ ... ] (separate strings with [ ... ] -- default is spaces)". Strings not words, not regexes. Separated by your choice, default is spaces. Those are the whole rules. All criteria must match.

    For simple search, there is no place to specify an alternate separator. Currently, simple search matches as many terms as possible, but that feature is likely to go away. It also only matches single-letter (not single-character) terms if they are separated by whitespace in the title (so simple-searching for "b deparse" won't find the nodes that simple-searching for "b:: deparse" would). Which is a mixed blessing and so might change as well.

    It would be nice if MySQL either supported "LIKE '...[^a-z]...'" or it's RLIKE wasn't a huge CPU hog. Then we could allow you to match "words" along with the other criteria. But google (and others) is great at matching words (and doesn't do anything else) so getting it working again will help.

    - tye        

Re: Nature of (Super )?Search queries ?
by runrig (Abbot) on Mar 24, 2006 at 19:24 UTC
    I don't know if there's an official FAQ with the info all in one place, but there is a trail of info starting here.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://539073]
Approved by diotalevi
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-05-25 09:19 GMT
Find Nodes?
    Voting Booth?