[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Search drill down prototype working (mostly)




After a few late nights + lunches I got the drill down working pretty
nicely.  There are a few features missing, but right now you can get a
feel for how it will work (and that it actually does).   Many thanks go to
Jason who was kind enough to make modifications to the simple.php3 form
for me.

I'm happy to say that I was able to utilize all the HTML and PHP3 include
files natively in my modperl module with only minor modifications. With
that said, please remember that any changes to categories.php3 needs to be
applied to categories_modperl.php3 as well.  There are a few more
modifications required for the advanced.php3 search page, but I'll deal
with that later.

One thing that *doesn't* work is the [Up] control in the Categories.  Not
sure how that is implimented.  Someone who can understand PHP please fill
me in so I can properly call it in my mod_perl script? 

With that said there are a few things that need to be decided on or just
plain done:

1)  How does the output look?  (Jason remember you need to fix the
floating "links" tab above the left table.)

2)  Do we want to support drill down search categories.  Ie:

Someone does a search for 'named' under Networking.  They get hits in
numerous sub-categories.  They decide to drill down further.  So when they
drill down does that execute another search or does it go back to browse
mode?

3)  Do we want more or less of an excerpt to be displayed with each match?

4)  Anyone know where we can get a nice little penguin icon to replace the
stock star.gif?

5)  You'll notice that search results pass an extra paramater to
article.php3: words.  This is intended so that article.php3 can parse the
entry for those words and highlight them for the user.  This is
functionality that has yet to be added to article.php3.

6)  I need to figure out to get rid of duplicates off of the root
category.  Too see what I mean, do a serach on 'named' from the root cat.
You'll get two hits for article 1.  This only happens in the root cat.

7)  Need to add link to advanced.php3

8)  Need to get advanced.php3 working.

9)  Need simple.php3 to pass the cateogory to Search.pm (the modperl
module that does the searching).  This is necessary for drill down
searches to work.  Jason is working on this.  Until this is working,
you'll have to manually add the c= param to the URL.

Please give me some feedback.