Thank you very much, I wouldn't have found this option on my own :)

Here's the query I used:

{ "from":STARTING_POSITION_NUMBER, "size":15, "query" : { "function_score": { 
"random_score": { "seed" : 1 } } } }


El domingo, 16 de febrero de 2014 13:52:53 UTC+1, David Pilato escribió:
>
> Use function score with random scoring.
>
> Should help.
>
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>
> Le 16 févr. 2014 à 10:15, Gabriel Gavilan gavilán 
> <gumy...@gmail.com<javascript:>> 
> a écrit :
>
> I want to shuffle the index so that when I get the documents with 
> "match_all" they don't appear in chronological order.
>
> Here's the question with details on stackoverflow:
>
> http://stackoverflow.com/questions/21802009/elasticsearch-shuffle-index-sorting
>
> I will appreciate any help.
>
> -- 
> 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/43e904a0-156d-486f-9856-5282bdf3bb86%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9d438798-6c86-4fb3-95a6-a27dfb1e6790%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to