<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding iTunes-style search to your Core Data application</title>
	<atom:link href="http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/</link>
	<description>Taglines are for Windows programmers</description>
	<lastBuildDate>Fri, 12 Mar 2010 03:21:12 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Predicates looking for Name &#187;</title>
		<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/comment-page-1/#comment-1256</link>
		<dc:creator>Predicates looking for Name &#187;</dc:creator>
		<pubDate>Thu, 11 Feb 2010 13:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/?p=381#comment-1256</guid>
		<description>&lt;p&gt;[...] a nice solution for this iTunes like search from Cocoa Is My Girlfriend.     Category: Core Data    You can follow any responses to this entry through the RSS 2.0 feed. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] a nice solution for this iTunes like search from Cocoa Is My Girlfriend.     Category: Core Data    You can follow any responses to this entry through the RSS 2.0 feed. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Fraser Hess</title>
		<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/comment-page-1/#comment-1132</link>
		<dc:creator>Fraser Hess</dc:creator>
		<pubDate>Sat, 24 Jan 2009 23:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/?p=381#comment-1132</guid>
		<description>&lt;p&gt;Good question, cause I&#039;m not sure.  However even if we concatenated the fields together, we&#039;d still have to rip apart the search string and look for each term individually since we&#039;re searching for terms and not and exact phrase.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good question, cause I&#8217;m not sure.  However even if we concatenated the fields together, we&#8217;d still have to rip apart the search string and look for each term individually since we&#8217;re searching for terms and not and exact phrase.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Fraser Hess</title>
		<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/comment-page-1/#comment-1131</link>
		<dc:creator>Fraser Hess</dc:creator>
		<pubDate>Sat, 24 Jan 2009 23:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/?p=381#comment-1131</guid>
		<description>&lt;p&gt;I don&#039;t think your predicate format will get my desired result: searching for every term in every field.  The big problem I ran into is that the predicate format has to change when the user adds a second term.
One term: &quot;world&quot; in name OR &quot;world&quot; in artist OR &quot;world&quot; in album
Two terms: &quot;world&quot; in name OR &quot;world&quot; in artist OR &quot;world&quot; in album &lt;strong&gt;AND&lt;/strong&gt; &quot;mayer&quot; in name OR &quot;mayer&quot; in artist OR &quot;mayer&quot; in album&lt;/p&gt;

&lt;p&gt;I hope that clears up my intention and desired result.&lt;/p&gt;

&lt;p&gt;Also, in my app I don&#039;t want the user to have to think about what field they are searching in.  I just want them to type.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think your predicate format will get my desired result: searching for every term in every field.  The big problem I ran into is that the predicate format has to change when the user adds a second term.
One term: &#8220;world&#8221; in name OR &#8220;world&#8221; in artist OR &#8220;world&#8221; in album
Two terms: &#8220;world&#8221; in name OR &#8220;world&#8221; in artist OR &#8220;world&#8221; in album <strong>AND</strong> &#8220;mayer&#8221; in name OR &#8220;mayer&#8221; in artist OR &#8220;mayer&#8221; in album</p>

<p>I hope that clears up my intention and desired result.</p>

<p>Also, in my app I don&#8217;t want the user to have to think about what field they are searching in.  I just want them to type.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Badeen</title>
		<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/comment-page-1/#comment-1127</link>
		<dc:creator>Jonathan Badeen</dc:creator>
		<pubDate>Sun, 04 Jan 2009 20:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/?p=381#comment-1127</guid>
		<description>&lt;p&gt;Just in case you didn&#039;t know, you can very easily add this functionality via the predicate binding in Interface Builder. In my case I am binding to an array controller w/ a controller key of filterPredicate and my predicate format is as follows:&lt;/p&gt;

&lt;p&gt;firstName contains[c] $value &#124;&#124; lastName contains[c] $value &#124;&#124; agent contains[c] $value &#124;&#124; role.title contains[c] $value&lt;/p&gt;

&lt;p&gt;I also have additional predicate bindings for each individual field so the user can click on the arrow to choose more specifically what they want to search.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just in case you didn&#8217;t know, you can very easily add this functionality via the predicate binding in Interface Builder. In my case I am binding to an array controller w/ a controller key of filterPredicate and my predicate format is as follows:</p>

<p>firstName contains[c] $value || lastName contains[c] $value || agent contains[c] $value || role.title contains[c] $value</p>

<p>I also have additional predicate bindings for each individual field so the user can click on the arrow to choose more specifically what they want to search.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: benzado</title>
		<link>http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/comment-page-1/#comment-1091</link>
		<dc:creator>benzado</dc:creator>
		<pubDate>Wed, 26 Nov 2008 02:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/?p=381#comment-1091</guid>
		<description>&lt;p&gt;How well does that perform?&lt;/p&gt;

&lt;p&gt;An alternative would be to maintain an indexed &quot;all text&quot; field that contains the concatenation of all the text of the other fields.  Then the query need only be performed against one index.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How well does that perform?</p>

<p>An alternative would be to maintain an indexed &#8220;all text&#8221; field that contains the concatenation of all the text of the other fields.  Then the query need only be performed against one index.</p>]]></content:encoded>
	</item>
</channel>
</rss>
