Is there is any way to explicitly use custom analyzer on rabbitmq river?

Hi

I'm using Elastic search server 0.16.2.for preparing a index,i have
used Rabbitmq river.I need to change default analyzer for index and
search to custom one.

type:custom
tokenizer:whitespace
filter: stop,length

I have declare text file that contain few stop words.which i want to
discard on search time.please help me how to customize my analyzer
using rabbitmq river,also how i am able to refer search analyzer when
i'm doing searching.

Thanks

Please update the ES version you are using and show the full config
and we'll be able to say what you need to improve. Also where did you
put the stopwords file?

not sure about the river but normally you can customize the analyzer
when creating the index or via API or in elasticsearch.yml

also how i am able to refer search analyzer when i'm doing searching.

Peter.

On 17 Jan., 10:22, sam mishra.sam...@gmail.com wrote:

Hi

I'm using Elastic search server 0.16.2.for preparing a index,i have
used Rabbitmq river.I need to change default analyzer for index and
search to custom one.

type:custom
tokenizer:whitespace
filter: stop,length

I have declare text file that contain few stop words.which i want to
discard on search time.please help me how to customize my analyzer
using rabbitmq river,also how i am able to refer search analyzer when
i'm doing searching.

Thanks

Thanks for reply.i have created gist https://gist.github.com/1626452.i
tried this mapping,server will parse this message and prepared
index,but analyzer will not apply it uses the default analyzer.also i
have put absolute path of stopwords file in my mapping.i am not pretty
sure my mapping is correct.

Thanks

On Jan 18, 2:40 pm, Karussell tableyourt...@googlemail.com wrote:

Please update the ES version you are using and show the full config
and we'll be able to say what you need to improve. Also where did you
put the stopwords file?

not sure about the river but normally you can customize the analyzer
when creating the index or via API or in elasticsearch.yml

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

also how i am able to refer search analyzer when i'm doing searching.

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

Peter.

On 17 Jan., 10:22, sam mishra.sam...@gmail.com wrote:

Hi

I'm using Elastic search server 0.16.2.for preparing a index,i have
used Rabbitmq river.I need to change default analyzer for index and
search to custom one.

type:custom
tokenizer:whitespace
filter: stop,length

I have declare text file that contain few stop words.which i want to
discard on search time.please help me how to customize my analyzer
using rabbitmq river,also how i am able to refer search analyzer when
i'm doing searching.

Thanks