Hi Bryan,

The quick search feature is working fine on my 2.0.1 instance. Proxying an
artifact should indeed add it to the searchable index as indicated in the
docs.

The index-content consumer that is responsible for the indexing should be
enabled by default. Can you verify if it is in your instance? You can find
it under Administration > Repository Scanning > Consumers tab.

If it is already enabled, can you check the logs if there were any errors
when the artifact was downloaded from the remote repo?

Thanks,
Deng


On Fri, May 9, 2014 at 12:23 PM, Bryan Stenson <[email protected]>wrote:

> Hi Archiva -
>
> I'm having trouble with the quickSearch feature.  I'm running the
> standalone 2.0.1 version, and have followed the "quick start" guide here:
> http://archiva.apache.org/docs/2.0.1/quick-start.html
>
> In this guide, I've walked through the steps to download junit-3.8.1.jar,
> and I can see this artifact is now in Archiva (via browsing) and I'm able
> to download it too.
>
> I'm trying to use the quickSearch API function (either the REST API or from
> the root webpage) and I'm always getting an empty array "[]" as the json
> payload...
>
> I expect that, if i search for "ju", I'd get junit back...is this not a
> reasonable expectation?  (According to the docs, proxying an artifact adds
> it to the searchable index).
>
> Am I missing something painfully obvious?
>
> Thanks.
>
> Bryan
>



-- 
Maria Odea "Deng" Ching-Mallete | [email protected] |
http://www.linkedin.com/in/oching

Reply via email to