Hi David,

thanks for your response and your links.

Yes I want to use the API, but it was not about a code library which I can use 
to code, but about an application with an UI, where I can just configure 
requests that should be called and select cores where they should be executed.
You can think of it as an application which can discover cores at a given host 
and which provides forms with one field for every request parameter, where you 
can just configure what your requests should do.

The application should then be able to run all requests in order for every core 
that is selected.
I think this would be more user friendly and faster than having to code, 
although I'm usually a fan of code and command line applications.

Kind Regards,
Florian

-----Original Message-----
From: David '-1' Schmid <[email protected]>
Sent: Freitag, 17. April 2020 10:54
To: [email protected]
Subject: Re: Availability of UI tool for Schema API, Core API, etc

Hi Florian,

I'm not quite sure whay you're asking for, sounds to me like you'd want to use 
an API?
There's several documented ones, and I've written one myself, because I didn't 
like the available ones (See end of email).

You can find these here:
https://lucene.apache.org/solr/guide/8_5/client-apis.html

--

If you're familiar with python, this is how I add a new field with my own API 
(https://github.com/sonne-academic/solr-utils):

 >>> from solr.instances import get_localhost_session  >>> session = 
 >>> get_localhost_session()  >>> collection = 
 >>> session.collection('techproducts')
 >>> collection.
collection.collection  collection.get         collection.schema
collection.session     collection.tag
collection.config      collection.graph       collection.search(
collection.stream      collection.update
 >>> collection.schema.
collection.schema.command(        collection.schema.dynamic_fields
collection.schema.fields          collection.schema.session
collection.schema.copy_fields     collection.schema.field_types
collection.schema.path
 >>> collection.schema.fields.
collection.schema.fields.add(         collection.schema.fields.delete(
    collection.schema.fields.path
collection.schema.fields.collection   collection.schema.fields.get_all(
    collection.schema.fields.replace(
collection.schema.fields.command(
collection.schema.fields.get_single(  collection.schema.fields.session  >>> 
collection.schema.fields.add(name='text', typ='text_general') <Response '200'>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]

Reply via email to