Sunday, April 1, 2018

FW: Solrj Analytics component

-----Original Message-----
From: Jason Gerlowski [mailto:gerlowskija@gmail.com]
Sent: 21 March 2018 04:07
To: solr-user@lucene.apache.org
Subject: Re: Solrj Analytics component

Hi Asmaa,

As far as I know, there aren't any SolrJ classes built expressly for
Analytics component requests like what exists for the Collection Admin APIs,
etc.
(https://lucene.apache.org/solr/7_2_0/solr-solrj/org/apache/solr/client/solr
j/request/CollectionAdminRequest.html
).
But it should still be possible to package your request into a SolrRequest
via some of the setters on that object, and parse the response out of the
returned NamedList<Object>.

It isn't pretty, but it _should_ be possible. Was there a more specific
aspect of building the request that you were getting hung up on?


Best of luck,

Jason

On Fri, Mar 16, 2018 at 4:38 PM, Asmaa Shoala <asmaa.shoala@nm-eg.com>
wrote:
> Hello,
>
> I want to use analytics
component(https://lucene.apache.org/solr/guide/7_2/analytics.html#analytic-p
ivot-facets
) in java code but i didn't find any guide over the internet .
>
> Can you please help me?
>
> Thanks,
>
> Asmaa Ramzy Shoala
>
> novomind Egypt LLC
> _____________________________
>
> 7 Abou Rafea Street, Moustafa Kamel, Alexandria, Egypt
>
> Mobile +20 1227281143
> email asmaa.shoala@nm-eg.com<mailto:asmaa.shoala@nm-eg.com> . Skype
> asmaa.shoala_nmeg
>

No comments:

Post a Comment