Hi Nitin,

If I understand correctly, you have configured suggest component in solr
instance. Solr instance is an independent java program and it will be
running on its own when you start and stop. You cannot package solr/suggest
component in your java application/project.

You can use SolrJ apis in your Java project and make use of those apis to
query solr to obtain suggestions :
http://www.solrtutorial.com/solrj-tutorial.html




On Wed, Apr 27, 2016 at 10:50 AM, Nitin Solanki <nitinml...@gmail.com>
wrote:

> Hello Everyone,
>                          I have created a autosuggest using Solr suggester.
> I have added a field and field type in schema.xml and did some changes in
> /suggest request handler into solrconfig.xml.
> Now, I need to build a java package using those configuration which I need
> to plug into my current java project. I don't want to use CURL, I need my
> configuration as jar or java package. How can I do ? Not having experience
> of jar package too much. Any help please...
>
> Thanks,
> Nitin
>

Reply via email to