Nature of (Super )?Search queries ?
kvale
created: 2006-03-24 14:19:41
I propose that the help node for the Search and Super Search facilities, node 237035, 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?

-Mark

Re: Nature of (Super )?Search queries ?
created: 2006-03-24 14:24:24
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.
Re: Nature of (Super )?Search queries ?
tye
created: 2006-03-24 14:49:45

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        

perlmonks.org content © perlmonks.org and kvale, runrig, tye

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03