1

I am querying mobile in stackoverflow. The second result is an answer. Results of /search/advanced is giving only questions when queried mobile. This is applicable for all other terms which are to be queried.

Tim Stone
  • 4,686
  • 3
  • 22
  • 32
amit jha
  • 842
  • 4
  • 11

1 Answers1

2

From the docs:

Searches a site for any questions which fit the given criteria.

(emphasis mine)

The searches on the API aren't guaranteed to exactly replicate the current on-site search, so this behaviour is expected. This may change in some future release of the API, but the current behaviour is closer to the old on-site search approach, which only ever returned questions as top-level results.

Tim Stone
  • 4,686
  • 3
  • 22
  • 32