digitalroastery / weblounge

Web Content Management System
12 stars 4 forks source link

Elasticsearch daterange queries checking for wrong endDate value #393

Open JamesUoM opened 7 years ago

JamesUoM commented 7 years ago

Modified and Publication date ranges are checking for creationDateEnd() instead of their own.

https://github.com/entwinemedia/weblounge/blob/develop/modules/weblounge-contentrepository/src/main/java/ch/entwine/weblounge/search/impl/elasticsearch/ElasticSearchSearchQuery.java#L260

myniva commented 7 years ago

Thanks for reporting! Do you already have a fix (and a unit test) for this or shall I start working on this?

JamesUoM commented 7 years ago

I think I'm going to have to fix it so I will create a PR.

James

On 06/09/16 08:44, Basil Brunner wrote:

Thanks for reporting! Do you already have a fix (and a unit test) for this or shall I start working on this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/entwinemedia/weblounge/issues/393#issuecomment-244874274, or mute the thread https://github.com/notifications/unsubscribe-auth/AC0PE2qfzqHux8yE7yTkedtIbJFGCSyJks5qnRnogaJpZM4J1Me6.


James S. Perrin

Media Technologies Team J20, Sackville Building The University of Manchester Oxford Road, Manchester, M13 9PL

t: +44 (0) 161 275 6945

e: james.perrin@manchester.ac.uk

"The test of intellect is the refusal to belabour the obvious"

- Alfred Bester

JamesUoM commented 7 years ago

As there is no existing ElasticSearch* unit tests, it will be a while before I time to create them as there will be a lot of setup to do.