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.
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.
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.
I have created a gist with an example of what my alias and search filter
look like.
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 <stef...@backstit.ch <javascript:>>
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.
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:
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.
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:
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.
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:
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.