[Pulp-dev] Setting up solr with crane for docker search
thomasmckay at redhat.com
Sat Jan 28 11:42:23 UTC 2017
BTW, I figured it out with some help.
The fields necessary in solr json search results have examples in the crane
tests. Unfortunately, the version of solr I'm using, 6.4.0, has results
that by default are formatted differently. Where crane expects
"ir_stars:7", solr is returning "ir_stars:". I am unsure why this is the
case, nor do I know how to change the solr json results format. When I
modified crane to parse the results, I could successfully docker search.
On Fri, Jan 27, 2017 at 3:38 PM, Michael Hrivnak <mhrivnak at redhat.com>
> You found the missing link. Both search backends were designed to work for
> a particular user that already had the data populated into either GSA or
> solr. We don't provide any means for getting that data populated.
> That said, search is not a very useful feature of docker. You can only
> search for repositories, and can only see a few tens of characters of text
> about each one. That's not nearly enough to help you decide if you want to
> use a particular repository, unless you just need to be reminded of the
> name of a repository you previously researched and decided to use.
> On Fri, Jan 27, 2017 at 2:28 PM, Tom McKay <thomasmckay at redhat.com> wrote:
>> Does anyone have instructions for setting up solr for search? I am
>> running a simple solr container and have crane configured to query
>> it. However, I am missing the "data import handler" piece in solr, I think.
>> I can see that a "docker search" successfully hits solr but has zero
>> Note: This is to address several requests to allow "docker search" to
>> work with container repositories in foreman/katello and Satellite-6.
>>  https://hub.docker.com/_/solr/
>>  http://docs.pulpproject.org/en/nightly/plugins/crane/index.h
>>  https://theforeman.org/plugins/katello/index.html
>> Pulp-dev mailing list
>> Pulp-dev at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pulp-dev