Yuav Ua Li Cas Nrhiav Boolean hauv Google

Cov txheej txheem:

Yuav Ua Li Cas Nrhiav Boolean hauv Google
Yuav Ua Li Cas Nrhiav Boolean hauv Google
Anonim

Yuav Paub

  • AND: Tshawb nrhiav all cov lus tshawb nrhiav uas koj tau teev tseg, piv txwv li, tshawb Amazon AND Rainforestrau cov vev xaib uas suav nrog ob nqe lus.
  • OR: Tshawb nrhiav ib lo lus lossis lwm yam, piv txwv li, tshawb yuav ua li cas kos lossis pleev xim yog tias koj xav tau cov txiaj ntsig ntawm ob qho tib si lub sij hawm tab sis tsis tas ob leeg.
  • Pab pawg cov lus hauv ib kab lus nrog cov lus hais, piv txwv li, tshawb "khoom qab zib" rau cov txiaj ntsig uas suav nrog cov lus ua ke xwb.

Kab lus no piav qhia yuav ua li cas ua Boolean tshawb hauv Google. Kev tshawb nrhiav Boolean qhia meej tias koj xav nrhiav dab tsi thiab seb yuav ua kom nws meej dua (siv THIAB) lossis tsawg dua (siv OR).

AND Boolean Operator

Siv AND tus neeg teb xov tooj hauv Google los tshawb nrhiav tag nrho cov lus tshawb nrhiav koj teev. Siv THIAB xyuas kom meej tias lub ncauj lus koj tab tom tshawb fawb yog lub ncauj lus uas koj tau txais hauv cov txiaj ntsig tshawb fawb.

Image
Image

Piv txwv li, kev tshawb nrhiav Amazon ntawm Google yog qhov yuav ua rau muaj txiaj ntsig ntsig txog Amazon.com, xws li lub vev xaib homepage, nws tus account Twitter, Amazon Prime cov ntaub ntawv, thiab cov khoom muaj nyob rau ntawm Amazon.com.

Yog tias koj xav tau cov ntaub ntawv ntawm Amazon rainforest, tshawb rau Amazon rainforest yuav tau txais txiaj ntsig txog Amazon.com lossis lo lus Amazon feem ntau. Txhawm rau kom paub tseeb tias txhua qhov kev tshawb nrhiav suav nrog Amazon thiab hav zoov hav zoov, siv AND tus neeg teb xov tooj.

Image
Image

Piv txwv ntawm THIAB tus neeg teb xov tooj suav nrog:

  • Amazon thiab rainforest
  • best AND college and towns

Hauv txhua qhov piv txwv no, cov txiaj ntsig tshawb fawb suav nrog nplooj ntawv web nrog txhua nqe lus txuas nrog tus neeg teb xov tooj Boolean AND.

Tus neeg teb xov tooj Boolean yuav tsum yog cov ntawv loj vim tias yog li Google nkag siab tias nws yog tus neeg teb xov tooj tshawb nrhiav thiab tsis yog lo lus tsis tu ncua. Ceev faj thaum ntaus tus neeg teb xov tooj nrhiav; nws ua qhov txawv ntawm qhov kev tshawb fawb.

OR Boolean Operator

Google siv LOSSIS tus neeg teb xov tooj los tshawb nrhiav ib lub sijhawm lossis lwm lub sijhawm. Ib tsab xov xwm tuaj yeem muaj ob lo lus tab sis tsis tas yuav suav nrog ob qho tib si. Qhov no feem ntau ua haujlwm zoo thaum siv ob lo lus zoo sib xws lossis cov ncauj lus uas koj xav kawm txog.

Piv txwv, hauv kev tshawb nrhiav yuav ua li cas kos lossis pleev xim, OR tus neeg teb xov tooj qhia Google nws tsis muaj teeb meem lo lus twg yog siv vim koj xav tau cov ntaub ntawv ntawm ob qho tib si.

Image
Image

Yuav kom pom qhov sib txawv ntawm OR thiab AND cov neeg ua haujlwm, sib piv cov txiaj ntsig ntawm kev kos duab lossis pleev xim rau kev kos duab thiab xim. Txij li OR muab Google txoj kev ywj pheej los qhia cov ntsiab lus ntau dua (vim ob lo lus siv tau), muaj txiaj ntsig ntau dua yog AND yog siv los txwv kev tshawb fawb kom suav nrog ob lo lus.

Tus cwj pwm tawg (|) tuaj yeem siv los hloov lossis. Tus cwj pwm tawg yog ib qho txuas rau tus yuam sij backslash ().

Piv txwv ntawm OR tus neeg teb xov tooj suav nrog:

  • yuav kos lossis pleev xim
  • yuav ua li cas | pleev xim
  • primal OR paleo recipes
  • red or yellow triangle

Combine Boolean Kev Tshawb Fawb thiab Siv Cov Kab Lus Tseeb

Thaum tshawb nrhiav ib kab lus es tsis yog ib lo lus, pab pawg cov lus nrog cov lus hais. Piv txwv li, tshawb rau "khoom qab zib biscuits" (nrog cov quotes suav nrog) kom pom cov ntsiab lus tsuas yog cov lus uas suav nrog cov lus ua ke, tsis muaj dab tsi ntawm lawv. Nws tsis quav ntsej cov lus xws li hnyuv ntxwm thiab cheese biscuits.

Txawm li cas los xij, kev tshawb fawb rau "khoom qab zib biscuits" | "cheese sauce" muab cov txiaj ntsig rau ob nqe lus tseeb, yog li koj yuav pom cov lus hais txog cheese sauce thiab cov khoom hais txog hnyuv ntxwm biscuits.

Thaum tshawb nrhiav ib kab lus lossis ntau dua ib lo lus tseem ceeb, ntxiv rau kev siv tus neeg teb xov tooj Boolean, siv cov kab lus. Hom recipes gravy (khoom qab zib | biscuit) txhawm rau tshawb nrhiav cov zaub mov txawv rau cov hnyuv ntxwm lossis biscuits. Txhawm rau tshawb nrhiav cov zaub mov sausage biscuit lossis tshuaj xyuas, muab cov kab lus tseeb nrog cov lus hais thiab tshawb rau "khoom qab zib biscuit" (daim ntawv qhia | tshuaj xyuas)

Yog tias koj xav tau cov zaub mov paleo sausage uas suav nrog cheese, ntaus (nrog cov lus qhia) "paleo recipe" (khoom qab zib thiab cheese).

Image
Image

Boolean Operators Yog Case Sensitive

Google yuav tsis quav ntsej txog cov ntawv sau loj lossis cov ntawv me hauv cov lus tshawb fawb, tab sis kev tshawb nrhiav Boolean yog qhov tseem ceeb. Rau tus neeg teb xov tooj Boolean ua haujlwm, nws yuav tsum yog nyob rau hauv tag nrho cov ntawv loj.

Piv txwv li, kev tshawb nrhiav freeware rau Windows OR Mac muab cov txiaj ntsig sib txawv dua li kev tshawb nrhiav freeware rau Windows lossis Mac.

Pom zoo: