You are either not logged in or not registered with our community. Click here to register.
 
December 11, 2016, 04:07:53 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Asking for help from someone who knows Boolean.  (Read 614 times)

0 Members and 1 Guest are viewing this topic.

Offline CaeliTopic starter

Asking for help from someone who knows Boolean.
« on: February 02, 2012, 07:49:47 PM »
I have little to no experience with Boolean, and need a quick introductory session on how to write a Boolean search string. If you can help me, please contact me on one of my messengers (available in my profile). Thanks!

Online Vekseid

Re: Asking for help from someone who knows Boolean.
« Reply #1 on: February 02, 2012, 07:59:04 PM »
Erm. Are you asking about boolean operators, boolean algebra, a boolean search on Google or a Sphinx search engine like ours, or?

Offline CaeliTopic starter

Re: Asking for help from someone who knows Boolean.
« Reply #2 on: February 02, 2012, 08:11:03 PM »
I think it's just a Boolean search string. Is it something as simple as

Software developer AND Java AND California ?

Offline Oniya

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Asking for help from someone who knows Boolean.
« Reply #3 on: February 02, 2012, 08:17:28 PM »
That's pretty much it.  If you want to find all of the search items, use 'and'.  If you want to find at least one, use 'or'.  You can do fancy things by introducing 'not' and parenthesis, but the example you gave is a basic Boolean search.

Offline CaeliTopic starter

Re: Asking for help from someone who knows Boolean.
« Reply #4 on: February 02, 2012, 08:22:53 PM »
Oh, awesome. I thought I was going to have to learn some crazy programming. =___=

Thanks so much!

Online Vekseid

Re: Asking for help from someone who knows Boolean.
« Reply #5 on: February 02, 2012, 08:41:48 PM »
I think it's just a Boolean search string. Is it something as simple as

Software developer AND Java AND California ?

Boolean operators are
AND: Z = X AND Y, Z is true only if and only if both X and Y is true
OR: Z = X OR Y, Z is true if and only if one or both of X or Y is true
NOT: Z = NOT X, Z is true if and only if X is false
XOR: Z = X XOR Y, Z is true if and only if one, but not both, of X or Y is true (XOR means eXclusive OR)

Sometimes the NOT operator gets combined as a shorthand - NAND, NOR, and XNOR for NOT AND, NOT OR, and NOT XOR, respectively.

In many forms of input they will have their own characters representing them in shorthand

AND: Usually &
OR: Usually |, but sometimes ^ or +
NOT: !, ~, or -, placed directly before the term to be negated. "Software developer" & java -California
XOR: Usually ^

Search engines don't seem to implement XOR very often or very well. Google treats ^ as OR.



In programming, boolean operators take one of two forms - computations meant to return a logical value, as above, or bitwise operations to generate a new numerical value from one or two input values. Can do things like calculate power-of-2 math very, very quickly.

Offline CaeliTopic starter

Re: Asking for help from someone who knows Boolean.
« Reply #6 on: February 02, 2012, 08:57:17 PM »
Thanks for the explanation, Vekseid. :)

Offline Taymynx

Re: Asking for help from someone who knows Boolean.
« Reply #7 on: February 03, 2012, 01:03:06 AM »
I sent you a PM with a few other boolean tools like the * search string and how letters are given numerical representations by a computer...allowing you to search words and versions using <, >, =, and null sets.  I added a few tutorial links. Would have put it here but it sounded like you wanted it sent  :D

but the ones Vek listed are the most commonly used one on in websearches other than the asterisk.

I hope it gave you added enrichment.

Offline CaeliTopic starter

Re: Asking for help from someone who knows Boolean.
« Reply #8 on: February 03, 2012, 01:05:46 AM »
The answers that Vekseid and Oniya gave me were sufficient for what I needed, but thank you for taking the time.