Site feedback

TimDutcher-2717 avatar image
1 Vote"
TimDutcher-2717 suggested BruceW-3326 commented

Better searching needed

Thanks for providing this Q&A site. I think just a one or two more enhancements will make it much more useful. First, there needs to be a way to indicate that the keywords we provide must be in the results your site returns. Currently, though, you are returning content where any of the keywords are found. This usually results in getting 10,000 matches for most searches. Also, please provide a way to find articles that exclude certain keywords. Some sites do this with a minus sign. Other enhancements would be to support phrases that must appear (provided in quotes) and to show only answered questions. Thank you for your consideration.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@TimDutcher-2717 , thank you for the feedback. We are reviewing it and we will be updating this item once we finish the review.

1 Vote 1 ·

1 Solution

saldana-msft avatar image
0 Votes"
saldana-msft commented

@TimDutcher-2717 we have some of the options you mentioned below already. Here is the text from our help page:

Advanced Search Help
Basic search:
Ex: Microsoft search should have terms
This is a basic “should have” search where the frequency of each word is counted in each thread. Each time a word is found, the score for that post goes up. The threads with the highest scores are then returned as most relevant. It is possible that a thread that does not contain all or even most of the terms still scores as most relevant because it has many hits on a single term. Also capitalization of words is ignored when matching here.

Must/Must Not Have Term Search:
Ex: +Microsoft –search
If you want to require a term to be in a matching thread, you can put a “+” immediately before the word. Likewise if you want to exclude a term from matches use a “-“. When more than one must/must not have term is used, it is interpreted as a logical AND. The following example will return matches only if they contain the term “microsoft” and do not contain the term “search”. Again capitalization is ignored.

Must/Must Not Have Phrase Search:
Ex: +”azuresearch is great” –“search does not work”
This is the same as the must/must not have term search except it matches on the entire phrase in quotes. In this example only threads containing the exact phrase “azuresearch is great” and not containing the exact phrase “search does not work” will be matched.

Must/Must Not Have Field Search:
Ex: +title:”search” –body:”elastic”
This search is similar to the must/must not have search above in every way except we are restricting matches to a particular field. So in this example, only threads having “search” in the title field and not have "elastic" in the body field will be returned as matches. Field searches can also accept phrases in addition to single words but the phrase will be required to match exactly.

Topic/Tag Search:
Ex: [azure] [directory]
This search will find any threads that are tagged with either "azure" or "directory".

Date Range Search:
Ex: date:"2017-09-26 TO 2017-10-03"
This search will find any threads that are between the dates above.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


I've been applying Boolian terms to searches but prefacing a term with the "-" literally makes it the dominant result no matter where it is in the string.

Recently capsulated my terms like this not (Linux or Azure) and those two terms filled the first page of results.

Would be delighted to see a solution so I can be more productive.


0 Votes 0 ·

Your Opinion Counts

Share your feedback, or help out by voting for other people's feedback.