The Pipe | is an OR Operator in Google

Sep 8, 2005 - 3:56 pm 1 by
Filed Under Google

This is more of a searching related question, but an excellent thread at Search Engine Watch Forums asks What's Link| Versus Link: Showing On Google? The initial question asked. is the syntax link|www.domain.com an alternative to the link:www.domain.com at Google? That was quickly negated after a few tests. Danny Sullivan offered a guess that the | is seen as a space when conducting a search at Google. But Danny admitted that "it's a mystery" to him as to what the | (pipe) does actually. Member "berneboy" said its obvious to him what it is, he said;

Since pipe is considered as an 'or' command in a whole bunch of programming and query languages, how about google treating it as such.

Which Danny offers a logical explanation as to why it is probably not the OR equivalent. Danny explains that he has "never seen the pipe suggested as an alternative. It could be undocumented." He then logically explained that even if "link|searchenginewatch.com = link OR searchengine.com = link OR searchenginewatch OR com" it would bring back the same results, but none do.

GoogleGuy comes to the rescue and clarifies that "| is the same as OR." He said that "the '|' character is an undocumented way to do an OR." Basically, "[agassi|davenport] is equivalent to the search [agassi OR davenport]." On a more personal note, GoogleGuy explains he likes to use the pipe alternative because "it makes [him] feel smarter."

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: December 20, 2024

Dec 20, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google December Core Update Done, Spam Update Starts, Google Ranking Exploit Leaked, Google Tests Double Serving Ads

Dec 20, 2024 - 8:01 am
Google Updates

Google December 2024 Spam Update 👾 Rollout Shocks Before Holidays

Dec 20, 2024 - 7:51 am
Google

Google Testing Shaded Button Sitelinks On Mobile

Dec 20, 2024 - 7:41 am
Google

Google Search To Gain AI Mode

Dec 20, 2024 - 7:31 am
Google Maps

Google Tests Nearby Hotels & Restaurants In Business Profile Listing

Dec 20, 2024 - 7:21 am
Previous Story: Dynamically Delivering AdSense & YPN Ads on Rotation