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 <[email protected]>
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 <[email protected]
> > 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 <[email protected]> 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
>>>
>>>
>>>
>>> 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 [email protected].
>>> 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
>> [email protected].
>> 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 [email protected].
> 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 [email protected].
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.