# Search - Stop word

**URL:** <https://discuss.elastic.co/t/search-stop-word/4111>\
**Category:** Elasticsearch\
**Created:** [March 16, 2011, 6:15pm UTC](https://discuss.elastic.co/t/search-stop-word/4111 "2011-03-16T18:15:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gloria](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@Gloria](https://discuss.elastic.co/u/Gloria)\
**Post date:** [March 16, 2011, 6:15pm UTC](https://discuss.elastic.co/t/search-stop-word/4111/1 "2011-03-16T18:15:41Z")

</div>

Hi,  
when we search using elastic search, with a word ''NO", it didn’t  
produced any result. Is this a stop word in elastic search?

Thanks,  
Gloria.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 16, 2011, 7:48pm UTC](https://discuss.elastic.co/t/search-stop-word/4111/2 "2011-03-16T19:48:08Z")

</div>

Yes, no is a stop word in the english stop words set. Here is the list that comes by default with lucene:

"a", "an", "and", "are", "as", "at", "be", "but", "by",  
"for", "if", "in", "into", "is", "it",  
"no", "not", "of", "on", "or", "such",  
"that", "the", "their", "then", "there", "these",  
"they", "this", "to", "was", "will", "with"

On Wednesday, March 16, 2011 at 8:15 PM, Gloria wrote:

> Hi,  
> when we search using Elasticsearch, with a word ''NO", it didnât  
> produced any result. Is this a stop word in Elasticsearch?
> 
> Thanks,  
> Gloria.

---

<div class="post-metadata">

**Author:** ![Gloria](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@Gloria](https://discuss.elastic.co/u/Gloria)\
**Post date:** [March 16, 2011, 8:26pm UTC](https://discuss.elastic.co/t/search-stop-word/4111/3 "2011-03-16T20:26:17Z")

</div>

Hi Shay,

Thank you.

Thanks,  
Gloria.

On Mar 17, 12:48 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Yes, no is a stop word in the english stop words set. Here is the list that comes by default with lucene:
> 
> "a", "an", "and", "are", "as", "at", "be", "but", "by",  
> "for", "if", "in", "into", "is", "it",  
> "no", "not", "of", "on", "or", "such",  
> "that", "the", "their", "then", "there", "these",  
> "they", "this", "to", "was", "will", "with"
> 
> On Wednesday, March 16, 2011 at 8:15 PM, Gloria wrote:
> 
> > Hi,  
> > when we search using Elasticsearch, with a word ''NO", it didn’t  
> > produced any result. Is this a stop word in Elasticsearch?
> 
> > Thanks,  
> > Gloria.- Hide quoted text -
> 
> - Show quoted text -

---

<div class="post-metadata">

**Author:** ![Gloria](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@Gloria](https://discuss.elastic.co/u/Gloria)\
**Post date:** [March 16, 2011, 9:16pm UTC](https://discuss.elastic.co/t/search-stop-word/4111/4 "2011-03-16T21:16:55Z")

</div>

Hi Shay,

How to remove 'no' from stop words, So that it can be searched.

Thanks,  
Gloria.

On Mar 17, 1:26 am, Gloria [gloria...@gmail.com](mailto:gloria...@gmail.com) wrote:

> Hi Shay,
> 
> Thank you.
> 
> Thanks,  
> Gloria.
> 
> On Mar 17, 12:48 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:
> 
> > Yes, no is a stop word in the english stop words set. Here is the list that comes by default with lucene:
> 
> > "a", "an", "and", "are", "as", "at", "be", "but", "by",  
> > "for", "if", "in", "into", "is", "it",  
> > "no", "not", "of", "on", "or", "such",  
> > "that", "the", "their", "then", "there", "these",  
> > "they", "this", "to", "was", "will", "with"
> 
> > On Wednesday, March 16, 2011 at 8:15 PM, Gloria wrote:
> > 
> > > Hi,  
> > > when we search using Elasticsearch, with a word ''NO", it didn’t  
> > > produced any result. Is this a stop word in Elasticsearch?
> 
> > > Thanks,  
> > > Gloria.- Hide quoted text -
> 
> > - Show quoted text -- Hide quoted text -
> 
> - Show quoted text -

---

<div class="post-metadata">

**Author:** ![Enrique\_Medina\_Monte](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Enrique\_Medina\_Monte](https://discuss.elastic.co/u/Enrique_Medina_Monte)\
**Post date:** [March 17, 2011, 9:08am UTC](https://discuss.elastic.co/t/search-stop-word/4111/5 "2011-03-17T09:08:55Z")

</div>

Gloria,

You can define your own customized stop analyzer. Check the doc:

[http://elasticsearch.karmi.cz//guide/reference/index-modules/analysis/](http://elasticsearch.karmi.cz//guide/reference/index-modules/analysis/)

Regards.

On Wed, Mar 16, 2011 at 10:16 PM, Gloria [gloriaa85@gmail.com](mailto:gloriaa85@gmail.com) wrote:

> Hi Shay,
> 
> How to remove 'no' from stop words, So that it can be searched.
> 
> Thanks,  
> Gloria.
> 
> On Mar 17, 1:26 am, Gloria [gloria...@gmail.com](mailto:gloria...@gmail.com) wrote:
> 
> > Hi Shay,
> > 
> > Thank you.
> > 
> > Thanks,  
> > Gloria.
> > 
> > On Mar 17, 12:48 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:
> > 
> > > Yes, no is a stop word in the english stop words set. Here is the list  
> > > that comes by default with lucene:
> > 
> > > "a", "an", "and", "are", "as", "at", "be", "but", "by",  
> > > "for", "if", "in", "into", "is", "it",  
> > > "no", "not", "of", "on", "or", "such",  
> > > "that", "the", "their", "then", "there", "these",  
> > > "they", "this", "to", "was", "will", "with"
> > 
> > > On Wednesday, March 16, 2011 at 8:15 PM, Gloria wrote:
> > > 
> > > > Hi,  
> > > > when we search using Elasticsearch, with a word ''NO", it didn’t  
> > > > produced any result. Is this a stop word in Elasticsearch?
> > 
> > > > Thanks,  
> > > > Gloria.- Hide quoted text -
> > 
> > > - Show quoted text -- Hide quoted text -
> > 
> > - Show quoted text -

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:09am UTC](https://discuss.elastic.co/t/search-stop-word/4111/6 "2017-07-06T04:09:49Z")

</div>


