<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: MySQL/PHP Boolean Search Updated</title>
	<atom:link href="http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/</link>
	<description>Tips and Commentary on Web Accessibility, Usability, and Search Marketing best practices.</description>
	<pubDate>Fri, 21 Nov 2008 11:30:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-26301</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Sat, 16 Aug 2008 15:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-26301</guid>
		<description>&lt;blockquote&gt;
The reason i have to do it is because to limit the db growth i have a location db with country and in the properies field i add just the location ID instead of the name...&lt;/blockquote&gt;

Which is very sensible! Glad that everything worked for you -- I've never tested the script using joins in the query, but I couldn't think of any reason it would be a problem.</description>
		<content:encoded><![CDATA[<blockquote><p>
The reason i have to do it is because to limit the db growth i have a location db with country and in the properies field i add just the location ID instead of the name&#8230;</p></blockquote>
<p>Which is very sensible! Glad that everything worked for you&thinsp;&#8212;&thinsp;I&#8217;ve never tested the script using joins in the query, but I couldn&#8217;t think of any reason it would be a&nbsp;problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alen</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-26212</link>
		<dc:creator>Alen</dc:creator>
		<pubDate>Thu, 14 Aug 2008 07:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-26212</guid>
		<description>hi,
I have to confess that i was a bit border yesterday,  but today with a cup of cafe i did what i asked you.
What i did was: in config.php i added an additional field for db_table, and
on Search.php i just changed a bit the select string:
AS relevance FROM $db_table LEFT JOIN $db_table2 on properties.location=locations.id WHERE...

The reason i have to do it is because to limit the db growth i have a location db with country and in the properies field i add just the location ID instead of the name...

So i wanted that the country name should be searched too..

Thanks for your great job!</description>
		<content:encoded><![CDATA[<p>hi,<br />
I have to confess that i was a bit border yesterday,  but today with a cup of cafe i did what i asked you.<br />
What i did was: in config.php i added an additional field for db_table, and<br />
on Search.php i just changed a bit the select string:<br />
AS relevance FROM $db_table LEFT JOIN $db_table2 on properties.location=locations.id WHERE&#8230;</p>
<p>The reason i have to do it is because to limit the db growth i have a location db with country and in the properies field i add just the location ID instead of the name&#8230;</p>
<p>So i wanted that the country name should be searched too..</p>
<p>Thanks for your great&nbsp;job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-26202</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Wed, 13 Aug 2008 23:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-26202</guid>
		<description>That shouldn't be any problem -- the script is written based on a single table model mostly because I can't possibly guess any other reasonable database design...adding some options to configure this kind of thing is in the plans, but hasn't happened yet. 

Hard to wrap your head around how to plan for who-knows-how-many different possible database designs.

Regardless, as long as you're creating a valid database query and the resulting fields are defined consistently with your configuration file, you shouldn't have any problems. You might end up with some complications concerning which fields on which tables you're searching, of course -- it's entirely likely you'll end up needing to toss the configuration variable and hard code the queries. Depends on what you need.</description>
		<content:encoded><![CDATA[<p>That shouldn&#8217;t be any problem&thinsp;&#8212;&thinsp;the script is written based on a single table model mostly because I can&#8217;t possibly guess any other reasonable database design&#8230;adding some options to configure this kind of thing is in the plans, but hasn&#8217;t happened yet. </p>
<p>Hard to wrap your head around how to plan for who-knows-how-many different possible database designs.</p>
<p>Regardless, as long as you&#8217;re creating a valid database query and the resulting fields are defined consistently with your configuration file, you shouldn&#8217;t have any problems. You might end up with some complications concerning which fields on which tables you&#8217;re searching, of course&thinsp;&#8212;&thinsp;it&#8217;s entirely likely you&#8217;ll end up needing to toss the configuration variable and hard code the queries. Depends on what you&nbsp;need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alen</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-26181</link>
		<dc:creator>Alen</dc:creator>
		<pubDate>Wed, 13 Aug 2008 13:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-26181</guid>
		<description>hi!

i need to do left join on my tables do do a search..
is it a problem to change your script?


$q = "select properties.id, properties.title, properties.city, locations.name FROM properties LEFT JOIN locations on properties.location=locations.id " .
"WHERE title LIKE '%".$keywords[$i]."%'".</description>
		<content:encoded><![CDATA[<p>hi!</p>
<p>i need to do left join on my tables do do a search..<br />
is it a problem to change your script?</p>
<p>$q = &#8220;select properties.id, properties.title, properties.city, locations.name FROM properties LEFT JOIN locations on properties.location=locations.id &#8221; .<br />
&#8220;WHERE title LIKE&nbsp;&#8217;%&#8221;.$keywords[$i].&#8221;%&#8217;&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-25850</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-25850</guid>
		<description>Well...simultaneous comment authorship! 

Thanks for stopping by, Chiara! It was one of those checklists which just spurred me to actually &lt;em&gt;implement&lt;/em&gt; what I should have done the first time around.</description>
		<content:encoded><![CDATA[<p>Well&#8230;simultaneous comment authorship! </p>
<p>Thanks for stopping by, Chiara! It was one of those checklists which just spurred me to actually <em>implement</em> what I should have done the first time&nbsp;around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-25849</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-25849</guid>
		<description>In fact, I was aware of that (courtesy of &lt;a href="http://grammar.about.com/od/spelling/a/spellcheck.htm" rel="nofollow"&gt;this article&lt;/a&gt;) -- I just chose to use the "revised" version anyhow. I rather like the total absurdity of the extremism in the expanded poem. Your original version, however, does take the cake for elegance -- the longer version becomes very difficult to scan due to the differences of meter and slant-wise homonyms. 

Thanks for stopping by!</description>
		<content:encoded><![CDATA[<p>In fact, I was aware of that (courtesy of <a href="http://grammar.about.com/od/spelling/a/spellcheck.htm">this article</a>)&thinsp;&#8212;&thinsp;I just chose to use the &#8220;revised&#8221; version anyhow. I rather like the total absurdity of the extremism in the expanded poem. Your original version, however, does take the cake for elegance&thinsp;&#8212;&thinsp;the longer version becomes very difficult to scan due to the differences of meter and slant-wise homonyms. </p>
<p>Thanks for stopping&nbsp;by!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chiara Fox</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-25848</link>
		<dc:creator>Chiara Fox</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-25848</guid>
		<description>I'm so glad that you found the checklist helpful. I hope you find that your script is more usable now.

And that is a great poem on the dangers of spell checkers. Ha!</description>
		<content:encoded><![CDATA[<p>I&#8217;m so glad that you found the checklist helpful. I hope you find that your script is more usable now.</p>
<p>And that is a great poem on the dangers of spell checkers.&nbsp;Ha!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Eckman</title>
		<link>http://www.joedolson.com/articles/2008/08/mysqlphp-boolean-search-updated/#comment-25843</link>
		<dc:creator>Mark Eckman</dc:creator>
		<pubDate>Mon, 04 Aug 2008 19:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/?p=261#comment-25843</guid>
		<description>Actually, those first two stanzas are not the original, and I'd be happy to explain the origins of the verse.  

In 1992, I worked for AT&#38;T and at the time we were proud of our proprietary e-mail.  However, a debate raged over including or not including a spell check in the software.  Lot's of arguments were forwarded on the topic ranging from "customers that can't spell shouldn't use e-mail" to limitations for computers with 64k of RAM.  The argument spilled over into the daily e-mail blurb sent to everyone.  I sent these two verses, which were published the next day, ending the discussion.  My intention was to subtly lower the arguments to absurdity :

I have a spelling checker
It came with my PC
It highlights for my review
Mistakes I cannot sea.

I ran this poem thru it
I'm sure your pleased to no
Its letter perfect in it's weigh
My checker told me sew.

A couple of years later I was doing a presentation on search engines and so began an urban ledgend.

Mark Eckman</description>
		<content:encoded><![CDATA[<p>Actually, those first two stanzas are not the original, and I&#8217;d be happy to explain the origins of the verse.  </p>
<p>In 1992, I worked for AT&amp;T and at the time we were proud of our proprietary e-mail.  However, a debate raged over including or not including a spell check in the software.  Lot&#8217;s of arguments were forwarded on the topic ranging from &#8220;customers that can&#8217;t spell shouldn&#8217;t use e-mail&#8221; to limitations for computers with 64k of RAM.  The argument spilled over into the daily e-mail blurb sent to everyone.  I sent these two verses, which were published the next day, ending the discussion.  My intention was to subtly lower the arguments to absurdity :</p>
<p>I have a spelling checker<br />
It came with my PC<br />
It highlights for my review<br />
Mistakes I cannot sea.</p>
<p>I ran this poem thru it<br />
I&#8217;m sure your pleased to no<br />
Its letter perfect in it&#8217;s weigh<br />
My checker told me sew.</p>
<p>A couple of years later I was doing a presentation on search engines and so began an urban ledgend.</p>
<p>Mark&nbsp;Eckman</p>
]]></content:encoded>
	</item>
</channel>
</rss>
