Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information which
we would like to display to users in a "timeline" fashion, a bit on their
welcome page where we list the latest news, articles, document uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of documents
without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route and
simply ask
When a document goes to ES, ES by itself (if not provided) just gives it a
id and parses fields etc. It doesn't have any notion of when was the
document added.
So, you'll have to have a field that'll keep track of when a doc was added.
Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information which
we would like to display to users in a "timeline" fashion, a bit on their
welcome page where we list the latest news, articles, document uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of documents
without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route and
simply ask
Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information which
we would like to display to users in a "timeline" fashion, a bit on their
welcome page where we list the latest news, articles, document uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of documents
without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route and
simply ask
Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information which
we would like to display to users in a "timeline" fashion, a bit on their
welcome page where we list the latest news, articles, document uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of documents
without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route
and simply ask
On Tue, Jun 4, 2013 at 9:41 PM, Mikael Andersson <mail....@gmail.com<javascript:>
wrote:
Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information which
we would like to display to users in a "timeline" fashion, a bit on their
welcome page where we list the latest news, articles, document uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of documents
without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route
and simply ask
Many thanks,
Micke
--
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:>.
For more options, visit https://groups.google.com/groups/opt_out.
just a side note, if the entities you are indexing are GORM based entities,
you simply index the lastUpdated timestamp, make sure it is a timestamp
when indexing, and do not need the _timestamp functionality at all.
But maybe I got you wrong here, so if you current solution works, I am fine
with that as well
On Tue, Jun 4, 2013 at 9:41 PM, Mikael Andersson mail....@gmail.comwrote:
Hi
I'm a complete elasticsearch/lucene newbie and I've been given a
requirement which I'm wondering if elasticsearch can help me with.
I work on a Grails application where we have a bunch of information
which we would like to display to users in a "timeline" fashion, a bit on
their welcome page where we list the latest news, articles, document
uploads, etc.
All these grails domain objects have a lastUpdated timestamp which I'm
hoping to order by, as well as provide some index specific criteria if
possible.
First off is it possible to simply fetch the latest X number of
documents without any filtering by query parameters?
Sorry for this trivial question but thought I'd go down the lazy route
and simply ask
Many thanks,
Micke
--
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.
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.