<p dir="auto">On a ES 1.4.2 cluster, I am trying to transiently set the log level of search slowlogs via the API:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="curl -s -XPUT 'http://localhost:9200/_cluster/settings' -d '
{
    &quot;transient&quot; : {
        &quot;logger.index.search.slowlog.query&quot; : &quot;INFO&quot;
    }
}'"><pre class="notranslate">curl -s -XPUT <span class="pl-s"><span class="pl-pds">'</span>http://localhost:9200/_cluster/settings<span class="pl-pds">'</span></span> -d <span class="pl-s"><span class="pl-pds">'</span></span>
<span class="pl-s">{</span>
<span class="pl-s">    "transient" : {</span>
<span class="pl-s">        "logger.index.search.slowlog.query" : "INFO"</span>
<span class="pl-s">    }</span>
<span class="pl-s">}<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">I confirmed that the transient setting is stored in the cluster with a GET on the same path.</p>
<p dir="auto">However I still have many DEBUG log events in my slowlogs. What am I doing wrong? Is this a known issue?</p>
<p dir="auto">I'm not sure if i'm doing something wrong here, but on something like the following...(elasticsearch 0.13)</p>
<p dir="auto">{ "from":0,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"<em>source.recid","default_operator" : "AND","query":"mp3</em>"}}}<br>
{ "from":10,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"<em>source.recid","default_operator" : "AND","query":"mp3</em>"}}}<br>
{ "from":20,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"_source.recid","default_operator" : "AND","query":"mp3*"}}}</p>
<p dir="auto">I occasionally get a duplicate result back[seems to be towards the top of the result set... anywhere from 1-4 records in).  (Happens if I specify an _id on index creation or let elastic search generate one for me.)  A duplicate result = _id being the same, as well as my _source.recid being the same. If I use a large "size" parameter then I don't get the duplicate results.  Is there something i'm misunderstanding?  If i happen to check for duplicates manually I never appear to get the proper unique entities. (ie... elasticsearch returns a report 259 records, but if I get one duplicate entry I will only get 258.</p>
<p dir="auto">But again, if I do specify a large enough size so that the result set all fits in, then there is no problem...  I am sure that when adding to the search that everything is unique.</p>
<p dir="auto">Tnx!</p>