Re: alias not indexing all documents

2015-04-03 Thread Stefanie
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, Aar

Re: alias not indexing all documents

2015-04-03 Thread Aaron Mefford
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 wh

Re: alias not indexing all documents

2015-04-02 Thread Stefanie
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

Re: alias not indexing all documents

2015-04-01 Thread Stefanie
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

Re: alias not indexing all documents

2015-04-01 Thread Stefanie Warzecha
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

Re: alias not indexing all documents

2015-04-01 Thread Mark Walkom
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 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 whe

alias not indexing all documents

2015-04-01 Thread Stefanie
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 alia