Stop words and re indexing

Hi ,
am new to elastic stop words and I want to understand more

can we configure the stop words at time of index creation and later update
the stop words with _settings API .

Does it requires to re index documents to reflect the new list of stop
words ?

I want to know if there is a way to configure stop words only for search
API and get stop words reflect on search results

http://www.elastic.co/guide/en/elasticsearch/guide/current/using-stopwords.html
http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html

Regards,
Nagaraju

--
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/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello ,

I need to double check if we can change the analyzer defenition.
But then even if you change it , you need to re index the whole index to
make it working.
Else your index would be looking bad with a set of documents analyzed
differently with different set of stop words and another set analyzed
differently , with different set of stop words.

So my advice would be to reindex the whole index , you you badly need this.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 1:49 AM, bvnrwork budda08nitt@gmail.com wrote:

Hi ,
am new to elastic stop words and I want to understand more

can we configure the stop words at time of index creation and later update
the stop words with _settings API .

Does it requires to re index documents to reflect the new list of stop
words ?

I want to know if there is a way to configure stop words only for search
API and get stop words reflect on search results

Using Stopwords | Elasticsearch: The Definitive Guide [2.x] | Elastic

Update index settings API | Elasticsearch Guide [8.11] | Elastic

Regards,
Nagaraju

--
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/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hey Vineeth,

Thank you

Is there a way I can specify the stop words only during searches .

For example the word "AND" I want to index but I want my searches consider
this

Regards
Nagaraju
908 517 6981

On Tue, Apr 14, 2015 at 10:59 PM, vineeth mohan vm.vineethmohan@gmail.com
wrote:

Hello ,

I need to double check if we can change the analyzer defenition.
But then even if you change it , you need to re index the whole index to
make it working.
Else your index would be looking bad with a set of documents analyzed
differently with different set of stop words and another set analyzed
differently , with different set of stop words.

So my advice would be to reindex the whole index , you you badly need this.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 1:49 AM, bvnrwork budda08nitt@gmail.com wrote:

Hi ,
am new to elastic stop words and I want to understand more

can we configure the stop words at time of index creation and later
update the stop words with _settings API .

Does it requires to re index documents to reflect the new list of stop
words ?

I want to know if there is a way to configure stop words only for search
API and get stop words reflect on search results

Using Stopwords | Elasticsearch: The Definitive Guide [2.x] | Elastic

Update index settings API | Elasticsearch Guide [8.11] | Elastic

Regards,
Nagaraju

--
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/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/-5QCy0GmqcY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAFtuXXLkE8fctChrUvKCiYHwXK1%3Dr4H%2BWSVoNdoMVK%2B9FJ1dNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hello ,

You can specify the analyzer in match query
http://www.elastic.co/guide/en/elasticsearch/reference/1.3/query-dsl-match-query.html
.
Creating the analyzer you want and mentioning the stopwords in it and
referring it from the match query might actually work.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 8:42 AM, buddarapu nagaraju budda08nitt@gmail.com
wrote:

Hey Vineeth,

Thank you

Is there a way I can specify the stop words only during searches .

For example the word "AND" I want to index but I want my searches consider
this

Regards
Nagaraju
908 517 6981

On Tue, Apr 14, 2015 at 10:59 PM, vineeth mohan <vm.vineethmohan@gmail.com

wrote:

Hello ,

I need to double check if we can change the analyzer defenition.
But then even if you change it , you need to re index the whole index to
make it working.
Else your index would be looking bad with a set of documents analyzed
differently with different set of stop words and another set analyzed
differently , with different set of stop words.

So my advice would be to reindex the whole index , you you badly need
this.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 1:49 AM, bvnrwork budda08nitt@gmail.com wrote:

Hi ,
am new to elastic stop words and I want to understand more

can we configure the stop words at time of index creation and later
update the stop words with _settings API .

Does it requires to re index documents to reflect the new list of stop
words ?

I want to know if there is a way to configure stop words only for search
API and get stop words reflect on search results

Using Stopwords | Elasticsearch: The Definitive Guide [2.x] | Elastic

Update index settings API | Elasticsearch Guide [8.11] | Elastic

Regards,
Nagaraju

--
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/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/-5QCy0GmqcY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAFtuXXLkE8fctChrUvKCiYHwXK1%3Dr4H%2BWSVoNdoMVK%2B9FJ1dNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAFtuXXLkE8fctChrUvKCiYHwXK1%3Dr4H%2BWSVoNdoMVK%2B9FJ1dNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5%3D0sv_%2BMC2eC%3DUm%2BsmjUvrLHPSMV%3DXj5zAM0W2Hcfo41A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thank you Vineeth

I tired creating custom analyzer and specifying the analyzer part of search
and I see it works except

for phrase search

I don't see stop words getting reflected on search

For example :

the search query "xerox america" and xerox is stop word but I am getting
documents with xerox

Is it standard behavior ?

Regarding omitting stop words while indexing

Also I want to try indexing to omit the stop so defined index setting as
below but I still see stop words getting indexed

Do you know any reason why

"settings": {
"index": {
"number_of_shards": 1,
"number_of_replicas": 0,
"analysis": {
"analyzer": {
"standard": {
"type": "standard"
},
"english": {
"type": "english"
},
"cjk": {
"type": "cjk"
},
"french": {
"type": "french"
},
"german": {
"type": "german"
},
"italian": {
"type": "italian"
},
"spanish": {
"type": "spanish"
},
"russian": {
"type": "russian"
},
"arabic": {
"type": "arabic"
},
"stopwordanalyzer": {
"stopwords": [
"AND",
"AN",
"THE",
""
],
"type": "stop"
}
}
}
}
},
"aliases": {
"201": {}

Regards
Nagaraju
908 517 6981

On Tue, Apr 14, 2015 at 11:29 PM, vineeth mohan vm.vineethmohan@gmail.com
wrote:

Hello ,

You can specify the analyzer in match query
http://www.elastic.co/guide/en/elasticsearch/reference/1.3/query-dsl-match-query.html
.
Creating the analyzer you want and mentioning the stopwords in it and
referring it from the match query might actually work.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 8:42 AM, buddarapu nagaraju <budda08nitt@gmail.com

wrote:

Hey Vineeth,

Thank you

Is there a way I can specify the stop words only during searches .

For example the word "AND" I want to index but I want my searches
consider this

Regards
Nagaraju
908 517 6981

On Tue, Apr 14, 2015 at 10:59 PM, vineeth mohan <
vm.vineethmohan@gmail.com> wrote:

Hello ,

I need to double check if we can change the analyzer defenition.
But then even if you change it , you need to re index the whole index to
make it working.
Else your index would be looking bad with a set of documents analyzed
differently with different set of stop words and another set analyzed
differently , with different set of stop words.

So my advice would be to reindex the whole index , you you badly need
this.

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)

On Wed, Apr 15, 2015 at 1:49 AM, bvnrwork budda08nitt@gmail.com wrote:

Hi ,
am new to elastic stop words and I want to understand more

can we configure the stop words at time of index creation and later
update the stop words with _settings API .

Does it requires to re index documents to reflect the new list of
stop words ?

I want to know if there is a way to configure stop words only for
search API and get stop words reflect on search results

Using Stopwords | Elasticsearch: The Definitive Guide [2.x] | Elastic

Update index settings API | Elasticsearch Guide [8.11] | Elastic

Regards,
Nagaraju

--
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/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/fb085289-98e5-4d9b-a872-daae51a3080e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/-5QCy0GmqcY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%3D969aaberH34ZQ-fq2%2Bot0f19BJ5%3D%2BvsGcgL98rqaoQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAFtuXXLkE8fctChrUvKCiYHwXK1%3Dr4H%2BWSVoNdoMVK%2B9FJ1dNw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAFtuXXLkE8fctChrUvKCiYHwXK1%3Dr4H%2BWSVoNdoMVK%2B9FJ1dNw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/-5QCy0GmqcY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3D0sv_%2BMC2eC%3DUm%2BsmjUvrLHPSMV%3DXj5zAM0W2Hcfo41A%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3D0sv_%2BMC2eC%3DUm%2BsmjUvrLHPSMV%3DXj5zAM0W2Hcfo41A%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAFtuXXL3AOyS859bg7kYVFoc0k4GqGbR27%3DKnBjOkV5AvCEVgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.