RE: HI.. Please you can help me?

You should ask for such question in the Elasticsearch mailing list or on
Stackoverflow.

That said, I answer now on the mailing list. Please answer to the mailing
and not to my direct mail.

What are you trying to achieve?

A simple analyzer already exists:

nalyzer.html

If you are trying to apply this analyzer to a specific field of your
document, you have to define a mapping:

tml

See more details about mappings here:

Feel free to ask more but please give more details about what you are trying
to do.
I recommend to read: Elasticsearch Platform — Find real-time answers at scale | Elastic

HTH
David.

-----Message d'origine-----
De : macfri10@gmail.com [mailto:macfri10@gmail.com]
Envoyé : jeudi 18 octobre 2012 19:34
À : david@pilato.fr
Objet : HI.. Please you can help me?

Hi
I have a small problema about as configure a analyzer

i did that:

curl -XPUT http://localhost:9200/index/_settings -d '
{
"index":
{
"analysis":
{
"analyzer":
{
"simple":
{
"type": "simple"
}
}
}
}
}'

i dont know if that is ok

please how Can i do that correctly

because i can not search for simple english words like "this, or, was".
etc.

i am waiting for you answer

--

Hard to tell since you didn't show your mapping/query, but if you are using
the standard analyzer, then it will use the english stop word set, which
includes "this", "was", and "or".

Even if you change the analyzer for the queries, the standard analyzer will
still be used for indexing.

--
Ivan

On Thu, Oct 18, 2012 at 11:29 AM, David Pilato david@pilato.fr wrote:

You should ask for such question in the Elasticsearch mailing list or on
Stackoverflow.

That said, I answer now on the mailing list. Please answer to the mailing
and not to my direct mail.

What are you trying to achieve?

A simple analyzer already exists:

Elasticsearch Platform — Find real-time answers at scale | Elastic
nalyzer.html

If you are trying to apply this analyzer to a specific field of your
document, you have to define a mapping:

Elasticsearch Platform — Find real-time answers at scale | Elastic
tml

See more details about mappings here:
Elasticsearch Platform — Find real-time answers at scale | Elastic

Feel free to ask more but please give more details about what you are
trying
to do.
I recommend to read: Elasticsearch Platform — Find real-time answers at scale | Elastic

HTH
David.

-----Message d'origine-----
De : macfri10@gmail.com [mailto:macfri10@gmail.com]
Envoyé : jeudi 18 octobre 2012 19:34
À : david@pilato.fr
Objet : HI.. Please you can help me?

Hi
I have a small problema about as configure a analyzer

i did that:

curl -XPUT http://localhost:9200/index/_settings -d '
{
"index":
{
"analysis":
{
"analyzer":
{
"simple":
{
"type": "simple"
}
}
}
}
}'

i dont know if that is ok

please how Can i do that correctly

because i can not search for simple english words like "this, or, was".
etc.

i am waiting for you answer

--

--