On Sun, Mar 10, 2013 at 1:37 PM, Brandon Fosdick <
bfos...@gmail.com> wrote:
> Someone in r/ruby mentioned that the search function on
rubygems.org only
> searches gem names and nothing else, which seemed odd to me. So I did a
> little test...if I search for 'gerber' it finds my gerber gem, but if I
> search for 'rs-274' (which is mentioned in the description and is an
> alternate name for the file format) it returns nothing. It seems the rumors
> are true, and I don't see any links that look like an advanced search
> function. Am I just missing it?
>
> Is this by design? Are there any plans to expand the scope of the search?
At the moment, `search` is just an alias for `list`, and works a whole
lot more like you'd expect that second verb to behave.
I think it would be great if you could search to also look in the
summary and description fields.
However, I am opposed to even the current amount of "rubygems api is
required for something that individual users and small organizations
find difficult to replicate privately" that we have implemented, so I
would oppose any extra remote infrastructure.
That being said, maybe there's a way to gracefully extend the index
without making it huge etc.
If we follow the previous patterns (e.g. the move from YAML to
Marshal, then to prerelease gem support, then to quickspecs etc),
there would be yet another gem index file that clients would fetch
when they wanted to enable full-text searching.