What does your mapping for the index look like? Is there any possibility 
there could be a mapping conflict?

Christian



On Friday, January 9, 2015 at 10:48:52 PM UTC, Stefanie wrote:
>
> I am having an issue with searching results if the type is not specified.
>
> The following search request works correctly:
>
> curl -XGET 'http://localhost:9200/twitter/tweet/_search' -d '{
>   "query" : {"match_all": {}},
>   "filter": {
>     "terms": {
>       "tweet_id":[
>         128
>       ]
>     }
>   },
>   "sort" : {"type" : "desc"}
> }
> '
>
>
> But this search request does not return any results:
>
> curl -XGET 'http://localhost:9200/twitter/_search' -d '{
>   "query" : {"match_all": {}},
>   "filter": {
>     "terms": {
>       "tweet_id":[
>         128
>       ]
>     }
>   },
>   "sort" : {"type" : "desc"}
> }
> '
>
> Does anyone know why this is?
>
> I am using elasticsearch version 0.90.13.
>
> Thank you for all the help.
> Stefanie
>
>

-- 
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/06708810-cadf-49e2-8cbc-01730ed4b600%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to