Search - Stop word


(Gloria) #1

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.


(Shay Banon) #2

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 elastic search, with a word ''NO", it didn’t
produced any result. Is this a stop word in elastic search?

Thanks,
Gloria.


(Gloria) #3

Hi Shay,

Thank you.

Thanks,
Gloria.

On Mar 17, 12:48 am, Shay Banon 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 elastic search, with a word ''NO", it didn’t
produced any result. Is this a stop word in elastic search?

Thanks,
Gloria.- Hide quoted text -

  • Show quoted text -

(Gloria) #4

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 wrote:

Hi Shay,

Thank you.

Thanks,
Gloria.

On Mar 17, 12:48 am, Shay Banon 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 elastic search, with a word ''NO", it didn’t
produced any result. Is this a stop word in elastic search?

Thanks,
Gloria.- Hide quoted text -

  • Show quoted text -- Hide quoted text -
  • Show quoted text -

(Enrique Medina Montenegro) #5

Gloria,

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

http://elasticsearch.karmi.cz//guide/reference/index-modules/analysis/

Regards.

On Wed, Mar 16, 2011 at 10:16 PM, Gloria 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 wrote:

Hi Shay,

Thank you.

Thanks,
Gloria.

On Mar 17, 12:48 am, Shay Banon 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 elastic search, with a word ''NO", it didn’t
produced any result. Is this a stop word in elastic search?

Thanks,
Gloria.- Hide quoted text -

  • Show quoted text -- Hide quoted text -
  • Show quoted text -

(system) #6