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 Sandesh Ingawale <si...@hitachisolutions.com> on 2018/08/21 14:05:11 UTC

SOLR Issue

Hi,
We have ecommerce base web application and we used SOLR for search.
Now we want to implement SOLR authentication and SOLR ranking feature with our application.
We need to do this programmatically(C#), can you please suggest what should be approach we have?
OR If you have any code snippets please send us. SOLR authentication needs to done with our application.
As well as please let us know if we need to do any configuration.

I tried as per below link but after change in jetty.xml and restart the SOLR, it gives error.
https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center/WCInstall_WCIndexSearchConfigStandalone_BasicAuthStandalone.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.ptc.com%2Fhelp%2Fwindchill%2Fwc111_hc%2Fwhc_en%2Findex.html%23page%2FWindchill_Help_Center%2FWCInstall_WCIndexSearchConfigStandalone_BasicAuthStandalone.html&data=02%7C01%7Csingawale%40hitachisolutions.com%7Cb16a784de60848da5fc208d60758ee0b%7Ce85feadf11e747bba16043b98dcc96f1%7C1%7C0%7C636704475867457814&sdata=txxrNJkfOyxfSEQL1kXEybDJfdgB3TMCH1goEB2LPqA%3D&reserved=0>


Thanks,
Sandesh Ingawale
Specialist - eCommerce Product
Mobile: +91 9960025165
singawale@hitachi-solutions.com<ma...@hitachi-solutions.com>
Hitachi Solutions
Inspire The Next!
dynamics.hitachi-solutions.com

[poty_logo-only_v2]

This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete this e-mail and any attachments from any device.

Re: SOLR Issue

Posted by Shawn Heisey <ap...@elyograg.org>.
On 8/21/2018 8:05 AM, Sandesh Ingawale wrote:
> We have ecommerce base web application and we used SOLR for search.
>
> Now we want to implement SOLR authentication and SOLR ranking feature 
> with our application.
>
> We need to do this programmatically(C#), can you please suggest what 
> should be approach we have?
>
> OR If you have any code snippets please send us. SOLR authentication 
> needs to done with our application.
>
> As well as please let us know if we need to do any configuration.
>

There is a C# client and a .NET client for Solr that are referenced in 
the documentation.  These are third party software, so you would need to 
discuss usage with those projects, not this one.

https://lucene.apache.org/solr/guide/7_4/client-api-lineup.html

> I tried as per below link but after change in jetty.xml and restart 
> the SOLR, it gives error.
>
> https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center/WCInstall_WCIndexSearchConfigStandalone_BasicAuthStandalone.html 
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.ptc.com%2Fhelp%2Fwindchill%2Fwc111_hc%2Fwhc_en%2Findex.html%23page%2FWindchill_Help_Center%2FWCInstall_WCIndexSearchConfigStandalone_BasicAuthStandalone.html&data=02%7C01%7Csingawale%40hitachisolutions.com%7Cb16a784de60848da5fc208d60758ee0b%7Ce85feadf11e747bba16043b98dcc96f1%7C1%7C0%7C636704475867457814&sdata=txxrNJkfOyxfSEQL1kXEybDJfdgB3TMCH1goEB2LPqA%3D&reserved=0>
>

Those instructions are for a version of Solr that was not produced by 
the Solr project.  If you're using a version packaged by someone else, 
you'll need to talk to whoever did that packaging.  We have no idea how 
they might have changed things.

Here are the official instructions for enabling basic authentication in 
Solr:

https://lucene.apache.org/solr/guide/7_4/authentication-and-authorization-plugins.html

Thanks,
Shawn