Alias not indexing all documents

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/48a5267d-7fa4-4d6e-bacb-54b93775955a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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 stefanie@backstit.ch 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 elasticsearch+unsubscribe@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9CG%3DiiBbLe-1i3G3OSHXP%2BbS6o32sz8LNNd5bGGdW4dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

I have created a gist with an example of what my alias and search filter
look like.

Thanks,
Stefanie

http://t.signaletre.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX48rlllYW5v7vbv64kjYFW2zhrDH56dJc6f6fRn9v02?t=http%3A%2F%2Fbackstit.ch%2F%3Ft%3Dsignature_image&si=4735498715660288&pi=b27527d4-0687-401e-fae0-aae7fd76b2e4
stefanie warzechaco-founder & COOhttp://backstit.ch
http://backstit.ch/?t=signature_link | @backstitch
http://t.signaletre.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX48rlllYW5v7vbv64kjYFW2zhrDH56dJc6f6fRn9v02?t=http%3A%2F%2Ftwitter.com%2Fbackstitch&si=4735498715660288&pi=b27527d4-0687-401e-fae0-aae7fd76b2e4

On Wed, Apr 1, 2015 at 5:14 PM, Mark Walkom markwalkom@gmail.com 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 stefanie@backstit.ch 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 elasticsearch+unsubscribe@googlegroups.com.
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 a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/5gOGf1RMS4s/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/CAEYi1X9CG%3DiiBbLe-1i3G3OSHXP%2BbS6o32sz8LNNd5bGGdW4dA%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9CG%3DiiBbLe-1i3G3OSHXP%2BbS6o32sz8LNNd5bGGdW4dA%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/CANgshirWLa-K3ZdngmW1bqNAdJNgQKBwQcmuH0vxOy6KFnVA4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

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.

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 elasticsearc...@googlegroups.com <javascript:>.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a7593519-ca8d-44cf-939a-bb688ec363e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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:
Filtered aliases which use `now()` should not be cached · Issue #8474 · elastic/elasticsearch · GitHub.

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.
Elasticsearch Alias · GitHub

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 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 elasticsearc...@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/24670003-224c-4c7f-8da1-0a72211890b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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:
Filtered aliases which use `now()` should not be cached · Issue #8474 · elastic/elasticsearch · GitHub.

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.
Elasticsearch Alias · GitHub

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 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 elasticsearc...@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0ef4f3dc-c66e-4d54-afa2-d3e4e9e75fe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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:
Filtered aliases which use `now()` should not be cached · Issue #8474 · elastic/elasticsearch · GitHub.

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.
Elasticsearch Alias · GitHub

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 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 elasticsearc...@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
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.