# Problem with indexing/searching for the word "no"

**URL:** <https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596>\
**Category:** Elasticsearch\
**Created:** [June 10, 2011, 8:45am UTC](https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596 "2011-06-10T08:45:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnotin](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cnotin](https://discuss.elastic.co/u/cnotin)\
**Post date:** [June 10, 2011, 8:45am UTC](https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596/1 "2011-06-10T08:45:19Z")

</div>

Hello,

I'm having problem with indexing (or searching ?) for the word "no".  
I have some pseudo tweets in the base and I can search for "na" or  
"nt" for example but but for "no".

The request is :

{  
"query":  
{  
"term":  
{"message":"no"}  
}  
}

Is "no" a reserved keyword ?

Regards.

---

<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:** [June 10, 2011, 9:16am UTC](https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596/2 "2011-06-10T09:16:27Z")

</div>

Its a default stopword, so during analysis of a field, it gets removed. You can either create an analyzer that has no stop words, or even have the field non analyzed.

On Friday, June 10, 2011 at 11:45 AM, Clément Notin wrote:

> Hello,
> 
> I'm having problem with indexing (or searching ?) for the word "no".  
> I have some pseudo tweets in the base and I can search for "na" or  
> "nt" for example but but for "no".
> 
> The request is :
> 
> {  
> "query":  
> {  
> "term":  
> {"message":"no"}  
> }  
> }
> 
> Is "no" a reserved keyword ?
> 
> Regards.

---

<div class="post-metadata">

**Author:** ![cnotin](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cnotin](https://discuss.elastic.co/u/cnotin)\
**Post date:** [June 10, 2011, 9:18am UTC](https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596/3 "2011-06-10T09:18:13Z")

</div>

Thanks for your quick answer.  
ES is a great product !

On Jun 10, 11:16 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Its a default stopword, so during analysis of a field, it gets removed. You can either create an analyzer that has no stop words, or even have the field non analyzed.
> 
> On Friday, June 10, 2011 at 11:45 AM, Clément Notin wrote:
> 
> > Hello,
> 
> > I'm having problem with indexing (or searching ?) for the word "no".  
> > I have some pseudo tweets in the base and I can search for "na" or  
> > "nt" for example but but for "no".
> 
> > The request is :
> 
> > {  
> > "query":  
> > {  
> > "term":  
> > {"message":"no"}  
> > }  
> > }
> 
> > Is "no" a reserved keyword ?
> 
> > Regards.

---

<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:03am UTC](https://discuss.elastic.co/t/problem-with-indexing-searching-for-the-word-no/4596/4 "2017-07-06T04:03:54Z")

</div>


