These are chat archives for LearnBoost/mongoose

Jan 2015
Jan 21 2015 23:51 UTC

hi! I use the mongoosastic and now I don`t know how to do something like this:{
query_string: {
            query: 'one',
                from: 23
                size: perPage,

in elasticsearch.js it will so work:{
  index: 'posts',
  from: (pageNum - 1) * perPage,
  size: perPage,

But how can i do it with mongoosastic?