in our environment, I can't get a shell to make changes . I am finding ways
to make the shema change and do a proof of concept.

how can I find more examples of solr schema api?  i can do POST via curl.
But, it seems POST has length limitations.



On Fri, Oct 27, 2023 at 4:17 AM ufuk yılmaz <uyil...@vivaldi.net.invalid>
wrote:

> 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