[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Searching- what's next
Gotchya -
also, I want to modify the Categories table to include a "Type" column.
Initially, types will only be "Category" (or something to that affect...
maybe 'container') and "Application". This will improve the performance of
certain querys (like select all applications) dramaticly, and allow us to
really flesh out a kick ass tree down the line.Since we are talking about
putting restrictions in place depending on certain things, this'll be the
easiest way to make it happen.
I don't think there is any way this is going to affect your code Aaron, but
here's what it will affect:
The category Maintenance stuuf I'm working on.
The Article Submission stuff Dan is on (Although I doubt you began the part
it will affect yet since I haven't even gotten with you on that needed
feature unless you already forsaw it... catch up with me on it dan.)
Jason
On Mon, Jun 07, 1999 at 08:45:59PM -0700, Aaron D. Turner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
>
> Just a FYI, on the restrict param. When you pass the paramter, pre-prend
> the current cateogory id with the application Id. Ie:
>
> - From c=1.4.5.6, user selects "BIND" which relates to ID# 11. You would
> then pass: restrict=1.4.5.6.11
>
> If you only pass 11, you'll get multiple hits, since 11 shows up in
> 1.4.5.6 and 1.3.6. (You get the idea)
>
>
> - --
> Aaron Turner | Either which way, one half dozen or another.
> aturner@pobox.com | http://www.pobox.com/~aturner/
>
> "There is no worse tyranny than to make a man pay for something he does
> not want merely because you think it would be good for him."
> - -Benjamin Franklin
>
> All emails from this account are PGP signed. Lack of a signature is "bad".
> PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
>
>
> On Mon, 7 Jun 1999, Jason Pincin wrote:
>
> > Yeh... lets do the restrict method you stated. I like that. I'll put
> > that in place today unless you get to it first, and I will impliment the
> > hidden form field you need as well. (as long as I got it straight).
> > Advanced form is next on my plate. I hafta make the application drop down
> > dynamic but that'll be simple. That's a few minutes only... talk soon.
> >
> >
> >
> > On Sat, Jun 05, 1999 at 02:07:38PM -0700, Aaron Turner wrote:
> > >
> > > 1) I need to support the "Choose your application" field in the
> > > simple.php form. There are two ways to do this:
> > >
> > > a) simple.php3 passes the category ID to /modperl/search via the restrict
> > > parameter
> > >
> > > b) simple.php3 passes the category name to /modperl/search and mod_perl
> > > does the lookup.
> > >
> > > It seems to me that the first way is better since simple.php3 has to
> > > lookup the category ID's for each of the categories anyways, no?
> > >
> > > 2) simple.php3 needs to pass the category id to advanced.php3 in the link
> > > to the advanced form.
> > >
> > > 3) The advanced form needs to work.
> > >
> > > Later...
> >
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
>
> iQCVAwUBN1yR+DM3jpXy1kJtAQGxzAP9HBXYX+B1bk+jLsraUpJLn+TQIFewYurW
> 1ta69WD+PL7n8XiDYqMD0BiAiVuUrSnVRZ5kj0djgtpk1qzOQS32mAOExKOahN3c
> dqoioEpEU5VoWrcN6ATFsI3bTHjFBTWHrKG+x0eHXdX/HXG+/3wSasLGqtsPvdVb
> dSRj4BT6t7I=
> =4OpJ
> -----END PGP SIGNATURE-----