Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Am I doing something wrong, or should this query return more results?

http://www.searchforphp.com/?s=needle+haystack

EDIT - For those who can't get the page to load, here are my results:

    * grapheme_strstr
      (PHP 5 >= 5.3.0, PECL intl >= 1.0.0) grapheme_strstr — Returns part of haystack string from the first occurrence of needle to the end of haystack.
      string grapheme_strstr( string $haystack, string $needle[, bool $before_needle = false] )

    * grapheme_stristr
      (PHP 5 >= 5.3.0, PECL intl >= 1.0.0) grapheme_stristr — Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.
      string grapheme_stristr( string $haystack, string $needle[, bool $before_needle = false] )

    * iconv_strrpos
      (PHP 5) iconv_strrpos — Finds the last occurrence of a needle within a haystack
      int iconv_strrpos( string $haystack, string $needle[, string $charset = ini_set("iconv.internal_encoding")] )

    * iconv_strpos
      (PHP 5) iconv_strpos — Finds position of first occurrence of a needle within a haystack
      int iconv_strpos( string $haystack, string $needle[, int $offset = 0[, string $charset = ini_set("iconv.internal_encoding")]] )


Hi!

It probably should. Could you let me know what you would be expected it to display? I can then figure out its doing wrong.


It's not fair to compare you to Google, but if you're returning results from php.net, I thought I'd see some of the more higher-profile pages:

http://www.google.com/search?q=site%3Aphp.net+needle+haystac...

http://duckduckgo.com/?q=site%3Aphp.net+needle+haystack


Looks like the score isn't calculating as well as I would have expected. I will tweak my relevance algorithms to fix this.

Thanks for the feedback!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: