lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Ribeiro <edward.ribe...@gmail.com>
Subject Re: Search phrase not parsed properly
Date Sat, 11 Jan 2020 02:01:52 GMT
Here is the stopwords' file for english:
https://github.com/apache/lucene-solr/blob/
<https://github.com/apache/lucene-solr/blob/master/solr/server/solr/configsets/_default/conf/lang/stopwords_en.txt>
branch_8_3/solr/server/solr/configsets/_default/conf/lang/stopwords_en.txt
<https://github.com/apache/lucene-solr/blob/master/solr/server/solr/configsets/_default/conf/lang/stopwords_en.txt>

Here is an example of how the stopword filter is setup in managed-schema
file:
https://github.com/apache/lucene-solr/blob/branch_8_3/solr/server/solr/configsets/_default/conf/managed-schema#L724


Here is how to use Solr Admin UI to test the analysis chain of your fields:
https://lucene.apache.org/solr/guide/8_3/analysis-screen.html#analysis-screen

Edward


Em sex, 10 de jan de 2020 22:36, Edward Ribeiro <edward.ribeiro@gmail.com>
escreveu:

> You have to check your managed-schema to see if the field type defines a
> stopwordfilter and which one it points to.
>
> There's a folder named 'lang' with many files, one for each language. If
> your field is configured to english the filter will point to
> lang/stopword_en.txt. The stopwords.txt file is empty by default. Also,
> you can test this by using the Analysis option in Admin UI.
>
> Best,
> Edward
>
>
> Em sex, 10 de jan de 2020 22:26, chester <nam.phan@construction.com.invalid>
> escreveu:
>
>> I checked the stopwords.txt file and it is empty. That means "will" is
>> not a
>> stop word, correct?
>>
>>
>>
>> --
>> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message