I think there are two options,

- Edit files on the disk directly, then restart Solr or reload the collection
- Use Solr’S Schema API to modify the schema through http api calls

I don’t think Solr admin UI allows direct editing of config files.

Btw since you are running examples, I’m assuming this is just for testing and 
not real/serious production environment.

--ufuk yilmaz

Sent from Mail for Windows

From: Vince McMahon
Sent: Friday, October 27, 2023 6:03 AM
To: users@solr.apache.org
Subject: where is the

I needed to be able to add the following lines to the managed-schema file.

  <fieldType name="text_ngrm" class="solr.TextField" positionIncrementGap=
"100">

      <analyzer type="index">

          <tokenizer class="solr.WhitespaceTokenizerFactory"/>

            <filter class="solr.NGramFilterFactory" minGramSize="1"
maxGramSize="50"/>

            <filter class="solr.LowerCaseFilterFactory"/>

      </analyzer>

      <analyzer type="query">

          <tokenizer class="solr.WhitespaceTokenizerFactory"/>

          <filter class="solr.LowerCaseFilterFactory"/>

      </analyzer>

  </fieldType>

  <field name="name" type="text_ngrm" indexed="true" stored="true"/>


can those lines be added using Solr UI?

Reply via email to