You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Asmaa Shoala <as...@nm-eg.com> on 2018/03/16 20:38:52 UTC
Solrj Analytics component
Hello,
I want to use analytics component(https://lucene.apache.org/solr/guide/7_2/analytics.html#analytic-pivot-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<ma...@nm-eg.com> · Skype asmaa.shoala_nmeg
Re: Solrj Analytics component
Posted by Jason Gerlowski <ge...@gmail.com>.
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/solrj/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 <as...@nm-eg.com> wrote:
> Hello,
>
> I want to use analytics component(https://lucene.apache.org/solr/guide/7_2/analytics.html#analytic-pivot-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<ma...@nm-eg.com> · Skype asmaa.shoala_nmeg
>