On Thu, May 14, 2020 at 02:47:57PM -0600, Shawn Heisey wrote: > On 5/14/2020 1:13 PM, Mark H. Wood wrote: > > On Fri, Apr 17, 2020 at 10:11:40AM -0600, Shawn Heisey wrote: > >> On 4/16/2020 10:07 AM, Mark H. Wood wrote: > >>> I need to ask Solr 4.10 for the name of the unique key field of a > >>> schema. So far, no matter what I've done, Solr is returning a 404. > > The Luke Request Handler, normally assigned to the /admin/luke path, > will give you the info you're after. On a stock Solr install, the > following URL would work: > > /solr/admin/luke?show=schema > > I have tried this on solr 4.10.4 and can confirm that the response does > have the information.
Thank you, for the information and especially for taking the time to test. > Since you are working with a different context path, you'll need to > adjust your URL to match. > > Note that as of Solr 5.0, running with a different context path is not > supported. The admin UI and the more advanced parts of the startup > scripts are hardcoded for the /solr context. Yes. 5.0+ isn't packaged to be run in Tomcat, as we do now, so Big Changes are coming when we upgrade. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu
signature.asc
Description: PGP signature