Is "it" a buildin stop word?

Hi,

when I try to search an index for "it" there are no results. Does that mean
"it" gets ignored in the analyzing process? And if so, how can I turn that
off?

Thanks for your help!

Hannes.

Yes, "it" is one of standard stop words in Lucene:
https://github.com/apache/lucene-solr/blob/lucene_solr_3_5/lucene/src/java/org/apache/lucene/analysis/StopAnalyzer.java#L51

You can change this list for default analyzer in config file:

index:
analysis:
analyzer:
default:
type: standard
stopwords: ["foo", "bar", "baz"]

See

more information.

On Tue, Feb 28, 2012 at 9:23 AM, ottsch ottsch@gmail.com wrote:

Hi,

when I try to search an index for "it" there are no results. Does that
mean "it" gets ignored in the analyzing process? And if so, how can I turn
that off?

Thanks for your help!

Hannes.

Thanks a lot for your quick answer!

On Tue, Feb 28, 2012 at 3:44 PM, Igor Motov imotov@gmail.com wrote:

Yes, "it" is one of standard stop words in Lucene:
https://github.com/apache/lucene-solr/blob/lucene_solr_3_5/lucene/src/java/org/apache/lucene/analysis/StopAnalyzer.java#L51

You can change this list for default analyzer in config file:

index:
analysis:
analyzer:
default:
type: standard
stopwords: ["foo", "bar", "baz"]

See Elasticsearch Platform — Find real-time answers at scale | Elastic
for more information.

On Tue, Feb 28, 2012 at 9:23 AM, ottsch ottsch@gmail.com wrote:

Hi,

when I try to search an index for "it" there are no results. Does that
mean "it" gets ignored in the analyzing process? And if so, how can I turn
that off?

Thanks for your help!

Hannes.