Elasticsearch analyse text


(rakesh goyal) #1

How do I run this in chrome sense plugin:

GET /_analyze?analyzer=standard?text='This is a test'

I am getting following error, not sure what is missing:

{
"error": "ElasticSearchIllegalArgumentException[text is missing]",
"status": 400}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cedb6d3d-881a-470d-a3cd-75fcad6274bc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Karol Gwaj) #2

too many question marks :slight_smile:

try this one:

GET /_analyze?analyzer=standard*&*text='This is a test'

On Monday, February 17, 2014 10:42:02 AM UTC, rakesh goyal wrote:

How do I run this in chrome sense plugin:

GET /_analyze?analyzer=standard?text='This is a test'

I am getting following error, not sure what is missing:

{
"error": "ElasticSearchIllegalArgumentException[text is missing]",
"status": 400}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ba85bce4-f4ac-4ea7-be9c-f5edae5c9d75%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(rakesh goyal) #3

Thanks a lot!

On Monday, 17 February 2014 16:52:55 UTC+5:30, Karol Gwaj wrote:

too many question marks :slight_smile:

try this one:

GET /_analyze?analyzer=standard*&*text='This is a test'

On Monday, February 17, 2014 10:42:02 AM UTC, rakesh goyal wrote:

How do I run this in chrome sense plugin:

GET /_analyze?analyzer=standard?text='This is a test'

I am getting following error, not sure what is missing:

{
"error": "ElasticSearchIllegalArgumentException[text is missing]",
"status": 400}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f7a1cc7d-b866-46b8-b2be-a0af7bc24f35%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4