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