Skip to main content

Questions tagged [search]

Questions about searching via the API, typically using the /search method.

Filter by
Sorted by
Tagged with
3 votes
1 answer
63 views

Difference in results between parameters Tagged or Q

If I make a request using the "tagged" parameter, the returned results are more that if I make the same request with the same tags but using the "q" parameter. Notice that the ...
micpob's user avatar
  • 85
2 votes
1 answer
64 views

Tagged parameter not working as described in documentation

In the documentation it is reported that the tagged parameter in the request URL should work like this: tagged - a semicolon delimited list of tags, of which at least one will be present on all ...
micpob's user avatar
  • 85
3 votes
1 answer
51 views

How do I search answer bodies for Markdown links?

The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
tony19's user avatar
  • 133
1 vote
0 answers
32 views

Add API method for network-wide search

Just like stackexchange.com has a networkwide search, it would be nice to have an equivalent of excerpt-search which searches the entire network at once. That would save me 360 calls (per-site metas ...
Glorfindel's user avatar
  • 6,885
3 votes
1 answer
93 views

When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?

I'm using the Questions Advanced Search API to retrieve Stack Overflow questions with a specific tag that were created in the last 15 minutes. I've written a script which runs every fifteen minutes ...
Adil B's user avatar
  • 133
1 vote
1 answer
121 views

Search by team API - want to have same query results in StackOverflow.com site

I just want to have same query result like stackoverflow.com did. I read this post:Searching on Stack Overflow and using the API give different results?. looks like /search/excerpts is the right ...
user12842165's user avatar
3 votes
0 answers
54 views

Garbage (litter) filters - delete custom filters from the "more" dropdown

About Garbage (litter) filters is a userscript that allows users to delete custom filters from the top dropdown directly without scrolling down to the "custom filters" sidebar. Inspired by ...
0Valt's user avatar
  • 1,434
5 votes
0 answers
34 views

Formatting and formatted content is missing for body in search excerpts call

The body returned by the search excerpts call seems to omit formatting and sometimes even formatted content. Example calls follow for this question: Does `inquestion` support multiple question ids? ...
Glorfindel's user avatar
  • 6,885
3 votes
0 answers
71 views

Add a color highlight to closed questions in the question lists

Screenshot / Code Snippet Adds a color highlight to closed questions. Inspired on a question asked by Hakan Fıstık About The script will highlight the close reason found at the end of a question ...
rene's user avatar
  • 2,762
2 votes
1 answer
45 views

Discrepancy in results size

I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword. My code iterates over all result pages by increasing the &page=N parameter while '...
Tobias's user avatar
  • 23
2 votes
1 answer
84 views

Bugs in API 2.2 "/search/advanced" with a "q" parameter

How can we handle these problems? Result for sort=relevance&order=desc is similar to sort=relevance&order=desc. Very poor caching system: After some queries, you may receive the same results ...
C2121's user avatar
  • 21
1 vote
1 answer
63 views

Is there any way to get questions by tag with excerpt?

I'm checking how I can embed the search for one project. Basically I want something like this page. With the search I can get the list of questions with all meta data from the search, however the ...
rekire's user avatar
  • 195
2 votes
0 answers
15 views

Is the way to search answers by who I voted for? [duplicate]

I found few similar questions: first, second. But answers is too old (2014 year). It's actual now — no way to get this info by using API?
rndev's user avatar
  • 121
2 votes
0 answers
48 views

Stack Exchange search API not returning results with min, max vote count

Query to search for all question with perl6 tag created between Oct 1 - Oct 5 2019. I'm sorting the results by votes. /2.2/search?fromdate=1569888000&todate=1570233600&order=desc&sort=...
Thiyagu's user avatar
  • 121
17 votes
0 answers
1k views

Stack Overflow View - Visual Studio code extension

About: This is a Visual Studio Code extension that allows developers to search Stack Overflow inside of the text editor, to quickly access answers and view questions. Screenshot / Code Snippet: ...
arkade's user avatar
  • 171
0 votes
1 answer
150 views

How to search ALL sites with the advanced API?

I can make a request to Stack Overflow as follows, which searches with keywords in titles:     /2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow My question is ...
SoftTimur's user avatar
  • 121
1 vote
1 answer
481 views

Is there a SQL-like query for the API?

I've looked at the API docs. However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc). Example: data....
user3517546's user avatar
0 votes
0 answers
31 views

Strange pagination behaviour of /search/excerpts [duplicate]

In an attempt to (automatically) restore broken images* which have originally been included as HTTP links, I've tried to use /search/excerpts to look for candidate posts; specifically, I'm setting the ...
Glorfindel's user avatar
  • 6,885
3 votes
1 answer
108 views

How to query the Stack Exchange API using an OR operator?

I want to query Stack Exchange by title including optional keywords (one of). How can I query by OR operator? For example: /search/advanced?page=1&tagged=java&q=title:http OR class&...
user3712353's user avatar
0 votes
1 answer
39 views

Can we pull posts out of Stack Overflow based on tags?

Instead of directly searching the posts and reading on the Stack Overflow website, can we pull out posts in the form of pdf/txt file? I want to learn (say like programming: c or python) some real ...
natarajan k's user avatar
3 votes
1 answer
104 views

Paging fails at 10K items for /search on any site but Stack Overflow

There's a problem with requesting more than 10,000 items. With Stack Overflow it works just fine. But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
Y. Evers's user avatar
3 votes
0 answers
46 views

Search incomplete synonym name

Is there is way to search synonym when user is inputting the name. Something like how things work in SO's tag search page. j2se is a synonym of java tag, but it appears in search when searching for ...
a1626's user avatar
  • 161
6 votes
0 answers
158 views

Reputation-based filter for search results

This userscript filters search results on Stack Exchange sites by reputation of the asker. To use it, add a search parameter such as is:25 where 25 is the minimum reputation required. Since the search ...
user avatar
5 votes
0 answers
332 views

Stack Search - Chrome extension

Stack Search is the chrome extension you’ve always dreamed of! Stack Search adds to your Google Search results a filtered set of the most relevant answers from your top trusted coding sources: ...
Dkova's user avatar
  • 151
4 votes
0 answers
309 views

StackSurfer iOS App

StackSurfer Screenshots: About “StackSurfer – Search Faster, Work Smarter” StackSurfer provides a smarter way to search for questions and answers in Stack Overflow. You can search for questions ...
Sunil 's user avatar
  • 41
3 votes
1 answer
56 views

How do I get the total number of records for a given search?

I want to use the Stack Exchange API and get the total number of results returned from the search route. I wrote this recursive script to find the last page with the has_more=False, is there a better ...
Uri Goren's user avatar
  • 133
-5 votes
1 answer
131 views

wrong results of api /search/advanced

I am querying for results of /search/advanced. The request I am sending is https://api.stackexchange.com/2.2/search/advanced?key=`key`&access_token=`access_token`&site=stackoverflow.com&...
amit jha's user avatar
  • 842
2 votes
1 answer
60 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
Jason Li's user avatar
8 votes
0 answers
149 views

Enhance Google search by incorporating Stack Overflow

Screenshot About This is a userscript for browsers (Chrome/Firefox) which can give you an overview of your programming-related search. The detailed functions are listed below: Spot the programming ...
ccy's user avatar
  • 401
11 votes
0 answers
462 views

TechGraph: A landscape of a tag/tech in Stack Overflow

Screenshot Update Version 0.1 Right-click to see the tagWiki (there was a collision between single click and double click); Add one section (ExpertGraph) to show the expertise graph of experts who ...
ccy's user avatar
  • 401
4 votes
1 answer
106 views

Search function in the API doesn't work as expected

This looks like an error in the search part of the API. This search URL: /2.2/search?tagged=javascript&intitle=get%20column%20array&site=stackoverflow doesn't return any answers. I'm ...
Wikunia's user avatar
  • 143
2 votes
0 answers
43 views

Max score with tagged works incorrectly for /questions, correctly for /search

When I look for questions tagged java from the first week of September 2014 with a minimum score of 10 like this: /2.2/questions?fromdate=1409529600&todate=1410134400&min=10&sort=votes&...
Lutz Prechelt's user avatar
3 votes
1 answer
3k views

Searching on Stack Overflow and using the API give different results?

I am trying to use the Stack Exchange API to see the trends on different topics. Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
nohorbee's user avatar
3 votes
1 answer
100 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
elixenide's user avatar
  • 173
3 votes
0 answers
80 views

Why is there a difference between "questions" and "search" in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: https://api.stackexchange.com/2....
Sarath Saleem's user avatar
2 votes
1 answer
82 views

Advanced search API not returning data for "phonegap" tag

I am trying to gather results from the API for the tag phonegap but the API is not returning any data. I am using /search/advanced and get nothing back for November: { "items": [], "...
Rod Burns's user avatar
  • 123
6 votes
0 answers
112 views

The "advanced search" path returns very wrong results for the `q` parameter

I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant. But compare the site search ...
Oli's user avatar
  • 253
4 votes
0 answers
122 views

Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`

It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question. When I select c#; .net I only get results tagged both c# and .net: http://...
Andrey Shchekin's user avatar
2 votes
1 answer
175 views

Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?

This is the query I want to run: /2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
gyaani_guy's user avatar
7 votes
0 answers
766 views

Stack Overflow Instant Search

Screenshot About I love the concept of instant search that Google introduced. Stack Overflow Instant Search does exactly that - it brings (almost) instant search to Stack Overflow. The results ...
Siddhant's user avatar
  • 171
1 vote
0 answers
157 views

Search links (Stack, Google, Symbolhound) next to the search box, for tab opening

Screenshot About Adds three links next to the search box. Allows to open the regular Stackoverflow search in a new tab, or search using Google, or Symbolhound. Proved useful to find duplicates. ...
mario's user avatar
  • 329
4 votes
0 answers
101 views

Script to convert a search on a StackExchange site to a Google search of that site

Screenshot / Code Snippet About Adds a Google button below the Search button on the search page which takes you to a Google search restricted to the current Stack Exchange site but with the same ...
hippietrail's user avatar
1 vote
1 answer
56 views

How do I search for a specific question whose url I know?

I was wondering if there is a feature in the API that I could use to retrieve various features of a question on the Stack Exchange network when I know the actual URL of the question.
Sid's user avatar
  • 113
2 votes
1 answer
221 views

Is there a difference between the API search and the search from within the site?

I'm curious if the search results from the API is calculated the same way as the searches from within the sites themselves? Is there a difference between the two? If so, what are the differences?
James Mertz's user avatar
5 votes
1 answer
311 views

Script to add a "Related Tags" module for search on all Stack Exchange sites

Screenshot / Code Snippet About Back in May A.Danesh asked "How can I see related tag for a search query?". I didn't actually see this question at the time but by September I started wondering the ...
hippietrail's user avatar
2 votes
1 answer
59 views

The migrated predicate on advanced_search seems underachieving

What does the migrated parameter to the advanced_search method mean? Setting it to true on CS finds only one question that has been migrated away, out of several: { "items": [ { "...
Gilles 'SO- stop being evil''s user avatar
2 votes
1 answer
80 views

Advanced search by title doesn't filter on the title

Searching by title on the advanced search method doesn't restrict the results to posts containing the specified text as a word or even substring. Varying the string has some influence, but I can't ...
Gilles 'SO- stop being evil''s user avatar
2 votes
1 answer
40 views

View count restriction isn't working for /search/advanced.

I have constructed the following URL, but the questions returned don't contain anywhere near 50k views, despite the query string parameter: http://api.stackexchange.com/2.1/search/advanced?site=...
Nathan Osman's user avatar
  • 23.3k
2 votes
0 answers
59 views

Is there an app for searching Stack Overflow?

I was thinking about how I often use the Stack Overflow "ask a question" area as a search engine, rather than searching Google first. I know I'm more likely to find my answer by doing this. I was ...
Andrew's user avatar
  • 121
2 votes
3 answers
233 views

Is there a Stack Exchange API allows research on the body?

I want to use the Stack Exchange API to perform research on the question/answer's body but it seems impossible. Is that the case? If not, how do I go about doing it?
taoder's user avatar
  • 29