Hi - we're indexing a directory structure that looks like:
top
|
-- xxx
|
-- yyy
|
-- zzz
..and so on. I'd like to make a search form which calls the search on
this index which allows limiting results to those from a particular
subdirectory. I.e., a search string input field, with a drop down box
with 'all', 'xxx', 'yyy', and 'zzz' as options, which would cause
webinator to return results from either all, or the just corresponding
directory under top.
Can anyone provide some pointers for this?
Al
P.S. currently using the free webinator package...
Basically, you can either index the directories into separate
databases and change the db for each, which is faster for large
indexes. Or you can modify the search script and add " and Url matches
$path", where $path is "www.mysite.com/xxx/%", to restrict the search
to that directory. This is slower but takes less disk space and is
easier to maintain (only one database).