What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

Perhaps my expectation is incorrect, but the search tips page makes it seem as if searching for a phrase delimited by quotes will return results that match the exact phrase only.

(Again perhaps this is just a matter of bad expectations, probably set by the way Google would treat this input, because reading the search tips page for a second time I noticed that it doesn't state that it will search for the exact phrase only).

For example, I'm interested in checking to see if there are any SO posts on the Apache library "commons-chain", so I search for a few of these variations:

  • [java] commons-chain
  • [java] "commons-chain"
  • "commons-chain"`

With each of the search terms, it seems as if articles are returned not because they match the exact phrase "commons-chain" but because they match either "commons" or "chain".

Perhaps the presence of the hyphen in the URL to the search is throwing things off?

Google shows the exact type of search results I would expect for search terms like this.

Again, not sure if this truly counts as a bug since it could just be incorrect expectations on my part - but if this is not the designed behavior, I would certainly vote for a feature change to make this the designed behavior when searching with quotes.

share|improve this question
1  
Google is still often the best way to search SO/SU/SF. –  EBGreen Aug 10 '09 at 20:41
    
"This could be SU" == should be on superuser? But it's a question about how the search functionality works / is intended to work –  matt b Aug 10 '09 at 20:41
    
I feel like I've said something like this before, but you have to encode the " as %22. –  Hilarious Comedy Pesto Aug 10 '09 at 20:46
    
It seems like it still doesn't work - shouldn't status-complete tag be removed? –  Piotr Dobrogost Apr 7 '12 at 11:55

2 Answers 2

up vote 0 down vote accepted

Try now:

http://stackoverflow.com/search?q=%5Bjava%5D+%22commons-chain%22

This was an issue with FREETEXTTABLE (loose match) versus CONTAINSTABLE (exact match). If we detect a quoted phrase in the search, we now switch to CONTAINSTABLE.

share|improve this answer
    
Thanks for addressing ths Jeff! –  matt b Sep 14 '09 at 13:05
4  
Did this somehow break again? The search for phrases seems to be loose to me... –  H.B. Jul 23 '11 at 2:06

This still seems broken. I just searched on SO for "get operation", and the first hit was checking, operation successful after any LinqToSql operation. It does not contain the phrase.

The closest it comes to matching is in a comment:

You would get an exception related to the update operation failure.

share|improve this answer
    
that is odd, and I can't repro that with other quoted phrases. I am guessing get is dropped as a noise word? –  Jeff Atwood Mar 5 '10 at 23:14
    
yep, searching for "operation" and "get operation" (with the quotes) produces identical results. The SQL Server full text engine doesn't like the word "get". –  Jeff Atwood Mar 5 '10 at 23:21
    
Someone please tell the SQL Server full text engine to talk to the TFS group about their error messages. :-) –  John Saunders Mar 6 '10 at 1:11
    
The search "alternatives to make" (in quotes) also fails the same way: lots of posts containing "alternatives" but not "make", and then finally about 20 posts down there is one titled "Promising alternatives to make". –  j_random_hacker Sep 21 '10 at 6:36
    
The search "choices are" also does not work. –  Jordan Reiter Nov 1 '11 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .