Elastic Search Size According to Type

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Elastic Search Size According to Type

Inayat
This post has NOT been accepted by the mailing list yet.
Hi,

can any one help me for finding records according to Type in Elastcisearch

Below the URL ,

http://localhost:9200/suggestion/restaurant,restaurantTerms/_search?q=cof*&fields=title&sort=_type:desc&pretty=true&track_scores


i want 5 records from restaurant Type and 5 Records From restaurantTerms Type.

Please help me.. thanks in advance