Look at the index with the Schema Browser in the Solr UI. This pulls
the terms for each field.

On Sun, Jul 15, 2012 at 8:38 PM, Giovanni Gherdovich
<g.gherdov...@gmail.com> wrote:
> Hi all,
>
> are stopwords from the stopwords.txt config file
> supposed to be indexed?
>
> I would say no, but this is the situation I am
> observing on my Solr instance:
>
> * I have a bunch of stopwords in stopwords.txt
> * my fields are of fieldType "text" from the example schema.xml,
>   i.e. I have
>
> -- -- >8 -- -- >8 -- -- >8 -- -- >8
>    <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
>       <analyzer type="index">
>         [...]
>         <filter class="solr.StopFilterFactory"
>                 ignoreCase="true"
>                 words="stopwords_FR.txt"
>                 enablePositionIncrements="true"
>                 />
>         [...]
>       </analyzer>
>       <analyzer type="query">
>          [...]
>          <filter class="solr.StopFilterFactory"
>                 ignoreCase="true"
>                 words="stopwords_FR.txt"
>                 enablePositionIncrements="true"
>                 />
>       </analyzer>
>    </fieldType>
> -- -- >8 -- -- >8 -- -- >8 -- -- >8
>
> * searching for a stopwords thru solr gives always zero results
> * inspecting the index with LuCLI
> http://manpages.ubuntu.com/manpages/natty/man1/lucli.1.html
>   show that all stopwords are in my index. Note that I query
>   LuCLI specifying the field, i.e. with "myFieldName:and"
>   and not just with the stopword "and".
>
> Is this normal?
>
> Are stopwords indexed?
>
> Cheers,
> Giovanni



-- 
Lance Norskog
goks...@gmail.com

Reply via email to