That looks way to easy :)<br clear="all"><b><div><b><br></b></div>Ryan LeTulle</b><br><br><div>&gt; <font color="#666666"><a href="http://twitter.com/bayousoft" target="_blank">bayousoft</a> -twitter</font></div><div><br></div>

<div><img src="http://dl.dropbox.com/u/12083215/m-gmail-icon.png"><br></div><div><div><br></div><br><br></div><br>
<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 9:58 AM, Joel Willers <span dir="ltr">&lt;<a href="mailto:joel.willers@sigler.com">joel.willers@sigler.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;d use Exposed Filters, personally.  If that doesn&#39;t work, you could always create a custom form and when you hit &#39;Search&#39; it THEN runs the View (using the Views API) with those filters.  This method, of course, takes a bit of programming, but it isn&#39;t too hard, actually.<br>


<br>
Here&#39;s an example from Views2 (You&#39;ll have to find the correct Views3 functions, if they&#39;ve changed) that searched for items within 15 miles of the zipcode entered in the form:<br>
<br>
(set $zipcode to the $_POST information)<br>
<br>
$view = views_get_view(&#39;name_of_view_example&#39;);<br>
$view-&gt;exposed_input[&#39;distance&#39;] = array(&#39;postal_code&#39; =&gt; $zipcode, &#39;search_distance&#39; =&gt; &#39;15&#39;, &#39;search_units&#39; =&gt; &#39;mile&#39;);<br>
<br>
$displayview = $view-&gt;preview();<br>
print $displayview;<br>
<br>
Hope that helps some.<br>
<font color="#888888"><br>
Joel<br>
</font><div><div></div><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] On Behalf Of Al Sessions<br>
Sent: Wednesday, April 27, 2011 9:34 AM<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Subject: [support] Drupal 7: Search Woes<br>
<br>
Firstly, I&#39;d like to thank everyone on this list. Just by my lurking<br>
you guys have helped me solve problems I didn&#39;t even know I had.<br>
<br>
As a Drupal enthusiast fighting through the learning curve (and loving<br>
every second of it) I do occasionally hit a wall, and this is one of<br>
those times. After trying a half dozen modules and pouring through<br>
literally hundreds of <a href="http://drupal.org" target="_blank">drupal.org</a> nodes, I am no closer than when I<br>
started.<br>
<br>
I have a content type with a slew of fields and some 30K nodes.<br>
<br>
I would like to make this searchable by field -- Last Name, First<br>
Name, DOB, DOD, etc. -- with a themed search form to match. You know,<br>
&quot;search by last name&quot;, &quot;search by first name&quot;, and so on. Faceted<br>
search, while a nice idea, isn&#39;t necessary.<br>
<br>
I&#39;ve tried exposing Views filters without much luck (although if this<br>
is the way to go, I&#39;m happy to revisit Views, hopefully armed with a<br>
handbook page or something) and tried the Search API ( I can&#39;t get it<br>
to index anything). Finder just throws errors rather than results,<br>
Search Lucene API isn&#39;t ported to D7 and SOLR isn&#39;t an option (shared<br>
hosting for a non-profit).<br>
<br>
This can&#39;t be an uncommon request and I&#39;d be grateful for any pointers<br>
in the right direction.<br>
<br>
--<br>
Al Sessions<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>