Skip to main content

All Questions

Tagged with
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 ...
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 ...
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 ...
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 ...
1 vote
1 answer
181 views

Non-verbatim search strings in py-stackexchange

I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u import sys sys....
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?
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 ...
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 '...
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 ...
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?
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 ...
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 ...
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....
3 votes
1 answer
208 views

OBSOLETE - /search method, returning the body of the questions

Probably this is a documentation fault. For the search method, the parameter list doesn't say anything about an optional body, but looking at the Returns description shows: "body": { "...
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&...
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 ...
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 ...
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 ...
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 ...
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 ...
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=...
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": [ { "...
1 vote
1 answer
90 views

Is there a maximum on the number of search results returned (using the SO API)?

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
6 votes
1 answer
112 views

API 'search' method with 'tagged' parameter

From the docs for tagged paremeter: List of tags delimited by semi-colons of which at least one must be on a question Yet, when I execute this query (http://api.stackoverflow.com/1.0/search?tagged=...
4 votes
1 answer
69 views

API 'search' method with 'min' parameter

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date: http://api.stackoverflow.com/1....
2 votes
1 answer
72 views

Does Lucene back the API search now?

With the announcement that Lucene is being used for site searches does it cover the API as well?
4 votes
2 answers
149 views

Can I filter Users by reputation or up_vote_count using the API?

Howdy, Is it possible to do API calls that pull back all users with, say, > 10,000 reputation? Or up_vote_count, etc. The advanced search page implies that we should use third-party search engines. ...
3 votes
1 answer
137 views

How to mimic search behavior of Stack sites?

I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this? Filter by tags if all words (how exactly is this detected?) in the query are tags. ...