# App Search Wierd Issue

**URL:** <https://discuss.elastic.co/t/app-search-wierd-issue/324326>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [January 31, 2023, 12:39pm UTC](https://discuss.elastic.co/t/app-search-wierd-issue/324326 "2023-01-31T12:39:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pknaangal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pknaangal/32/116590_2.png) [@pknaangal](https://discuss.elastic.co/u/pknaangal)\
**Post date:** [January 31, 2023, 12:39pm UTC](https://discuss.elastic.co/t/app-search-wierd-issue/324326/1 "2023-01-31T12:39:48Z")

</div>

Hi Everybody, I have the App Search subscription. In my search engine when I do the following search:

{'page': {'size': 200},'query':'kesavananda bharti v. State of Kerala'}

It returns zero results. However when I do the following search without specifying page size:

{'query':'kesavananda bharti v. State of Kerala'}

It returns proper results. And the following query with page size:

{'page': {'size': 200},'query':'kesavananda'}

also works properly. I am not sure what is going on. The first query on top is supposed to fetch proper results.

Any ideas are welcome. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![joemcelroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joemcelroy/32/103757_2.png) [@joemcelroy](https://discuss.elastic.co/u/joemcelroy)\
**Post date:** [January 31, 2023, 2:44pm UTC](https://discuss.elastic.co/t/app-search-wierd-issue/324326/2 "2023-01-31T14:44:59Z")

</div>

hi @pknaangal

It should work, both the page.size and query are specified correctly in your examples.

Maybe try and call the request through cURL, just to rule out any issues with how you are making the request in your application.

Joe

---

<div class="post-metadata">

**Author:** ![pknaangal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pknaangal/32/116590_2.png) [@pknaangal](https://discuss.elastic.co/u/pknaangal)\
**Post date:** [January 31, 2023, 11:21pm UTC](https://discuss.elastic.co/t/app-search-wierd-issue/324326/3 "2023-01-31T23:21:51Z")

</div>

Thanks Joseph, unfortunately I have tried everything. It simply does not work. So I had to remove the page size, and just pass the query. This brings 10 results only on the first attempt, but its better than 0 results.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 28, 2023, 11:22pm UTC](https://discuss.elastic.co/t/app-search-wierd-issue/324326/4 "2023-02-28T23:22:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
