PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Categories being different searches

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Categories being different searches

    I probably won't explain this right..

    Is there a way to have the different categories be different indexed folders?

    That way it will cut down on the initial index search load. So there would be no search "all" function, you would ONLY be able to search by categories.

    But each category would be its own search index.

    So I would
    index Folder 1. It would be category one
    Index Folder 2. It would be category two
    etc.....


    That way the indexes would be smaller initially.

  • #2
    If you don't need to be able to search across "all" categories, then you should consider making separate indexes for each category.

    You would setup a separate .zcfg configuration file for each category, and their output folder would be in different subfolders.

    Then you can create a custom search form that either submits to the search.php script in the corresponding category folder, or just link to each search page differently, e.g.

    <a href="/search/category1/search.php">Search category 1 here</a>
    <a href="/search/category2/search.php">Search category 2 here</a>

    If you want a dropdown, you can do that with some Javascripting on your side.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X