Search - Stop word

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Search - Stop word

Gloria
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.
Reply | Threaded
Open this post in threaded view
|

Re: Search - Stop word

kimchy
Administrator
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.

Reply | Threaded
Open this post in threaded view
|

Re: Search - Stop word

Gloria
Hi Shay,

Thank you.

Thanks,
Gloria.

On Mar 17, 12:48 am, Shay Banon <[hidden email]> 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 -
Reply | Threaded
Open this post in threaded view
|

Re: Search - Stop word

Gloria
Hi Shay,

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

Thanks,
Gloria.

On Mar 17, 1:26 am, Gloria <[hidden email]> wrote:

> Hi Shay,
>
> Thank you.
>
> Thanks,
> Gloria.
>
> On Mar 17, 12:48 am, Shay Banon <[hidden email]> 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 -
Reply | Threaded
Open this post in threaded view
|

Re: Search - Stop word

Enrique Medina Montenegro
Gloria,

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


Regards.

On Wed, Mar 16, 2011 at 10:16 PM, Gloria <[hidden email]> 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 <[hidden email]> wrote:
> Hi Shay,
>
> Thank you.
>
> Thanks,
> Gloria.
>
> On Mar 17, 12:48 am, Shay Banon <[hidden email]> 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 -