I added following to my Solr schema:

    <dynamicField name="*_stopword_en"  type="managed_en"    indexed="true" 
stored="true" 
          multiValued="true"/>

        <fieldType name="managed_en" positionIncrementGap="100"
class="solr.TextField">
                <analyzer>
                        <tokenizer class="solr.StandardTokenizerFactory"/>
                        <filter class="solr.ManagedStopFilterFactory" 
managed="english" />
                </analyzer>
       </fieldType>

and then restarted Solr.

Should following query return all stopwords?
http://localhost/solr/collection/schema/analysis/stopwords/english

I don't get any stopwords in response. I see following:
{
  "responseHeader":{
    "status":0,
    "QTime":1},
  "wordSet":{
    "initArgs":{"ignoreCase":false},
    "initializedOn":"2018-02-13T20:26:37.378Z",
    "managedList":[]}}

What am I doing wrong?

Thanks so much.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to