You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Krönert Florian <Fl...@orbis.de> on 2020/04/17 06:55:17 UTC
Availability of UI tool for Schema API, Core API, etc
Hi everyone,
We started using Solr for one of our customers and like it very much.
What made me wonder however, is that the Schema page inside the Solr Admin site is rather incomplete and only for one core at a time.
For advanced requests to the Schema API the docs show us to use curl.
I configured Postman for doing the requests so that I was able to use the runner for batching my requests through all cores, but it's just a workaround.
So my idea was to create a tool which allows to configure requests to Solr APIs based on a hostname, where you can define the order in which they run and for which cores every request should be executed.
I was wondering however, whether I just did not search correctly for such a tool, or - if it really does not exist - why no one created it at this point.
Is there something that I am not aware of, which makes such a tool hard to create?
I'd be glad to get some input.
Kind Regards,
Florian Krönert
Registered Seat: Saarbrücken
Commercial Register Court: Amtsgericht Saarbrücken, HRB 12022
Board of Management: Thomas Gard (Chairman), Michael Jung, Stefan Mailänder, Frank Schmelzer
Chairman of the Supervisory Board: Ulrich Holzer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: Availability of UI tool for Schema API, Core API, etc
Posted by Krönert Florian <Fl...@orbis.de>.
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 <da...@vis.uni-stuttgart.de>
Sent: Freitag, 17. April 2020 10:54
To: dev@lucene.apache.org
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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org
Re: Availability of UI tool for Schema API, Core API, etc
Posted by David '-1' Schmid <da...@vis.uni-stuttgart.de>.
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org