I am trying to create an alias that will give me all the documents that 
have a created_at time more than 3 days ago.  And on the flip side I am 
creating an alias for all of the docs with a created_at time less than 3 
days ago.

Thanks,
Stefanie

On Friday, April 3, 2015 at 12:34:32 PM UTC-4, Aaron Mefford wrote:
>
> Can you share what you are trying to accomplish with the now()?  There may 
> be an alternative approach  It may make sense to cron modification to the 
> alias, such that the now value is periodically updated.
>
> On Thursday, April 2, 2015 at 1:03:59 PM UTC-6, Stefanie wrote:
>>
>> Hi,
>>
>> I have found what the issue is.  In the version of elasticsearch that I 
>> am running the "now()" in the alias is evaluated at alias creation not at 
>> alias run time per:
>> https://github.com/elastic/elasticsearch/issues/8474.
>>
>> As we are not going to upgrade our production system at this time does 
>> anyone know a way to work around this?
>>
>> Thanks,
>> Stefanie
>>
>> On Wednesday, April 1, 2015 at 5:28:23 PM UTC-4, Stefanie wrote:
>>>
>>> Hi,
>>>
>>> I have created a gist with an example of what my alias and search filter 
>>> look like.
>>> https://gist.github.com/swarzech/4e2bcdcc046587fb2845
>>>
>>> Thanks,
>>> Stefanie
>>>
>>> On Wednesday, April 1, 2015 at 5:15:25 PM UTC-4, Mark Walkom wrote:
>>>>
>>>> It'd help if you provided a gist/pastebin/etc link to the alias and the 
>>>> filter.
>>>>
>>>> On 2 April 2015 at 02:51, Stefanie <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have an alias with filters that does not seem to be indexing any new 
>>>>> documents.  When I run the filter directly on the index I get the correct 
>>>>> results but when I call the alias the new documents are not being pulled. 
>>>>>  
>>>>>
>>>>> This only seems to be happening with one alias as all of my other 
>>>>> aliases that work the same way don't seem to be having a problem.  I have 
>>>>> tried deleting the alias and recreating it but this didn't fix the issue.
>>>>>
>>>>> Does anyone know why this might be happening?
>>>>>
>>>>> Thank you,
>>>>> Stefanie
>>>>>
>>>>> -- 
>>>>> 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/48a5267d-7fa4-4d6e-bacb-54b93775955a%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/elasticsearch/48a5267d-7fa4-4d6e-bacb-54b93775955a%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6ef4fb87-e2cc-46c5-b3f5-1da78cded1b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to