Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Search Order?

NickENickE New
edited January 2008 in Vanilla 1.0 Help
This is probably a stupid topic, as I vaguely remember reading something about this earlier, but is there any way you can change the order search results are displayed? At the moment, they're shown via date in ascending order, and since it dosn't actually give you pages to jump to (another possible useful feature), and the most relevant results are most probably the most recent, plowing through a hundred different matches can/could be a rather large pain in the rear end.

And then just to point out a styling bug, in Opera, when you search then go to the advanced view, the placement of the next/previous links and save search form gets messed up.

Comments

  • Options
    ithcyithcy New
    edited February 2006
  • Options
    Oh. Stupid me, I knew I read something about this somewhere...

    Still, it'd be useful if the results at least had page controls instead of next/previous links, and/or gave you different sorting options.
  • Options
    MarkMark Vanilla Staff
    All of the limitations you're talking about were done on purpose to speed up the search results. Sorting of the results on a 300,000+ db is over 100 times slower than not sorting - that's *with* an index on the date field.

    Same thing with the next and previous links instead of a pagelist (like you get on the main discussion page). In order to get a pagelist, you need to get a count of the total number of records found in the search. This slows the search down immensely.
  • Options
    Ok, but shouldn't there be an option to sort on the search page?
  • Options
    Perhaps it should be an admin config option?
  • Options
    edited February 2006
    That too, but even if ordered searches are permitted on a per-forum level, the default should be unsorted on the search form.

    Then, the search would be sorted only if both admin and user agreed to it.

    I just checked, and my site is only 1500 posts after 6 months, so I think we can handle it.
  • Options
    yeah bergamot thats what i was intending.
  • Options
    MarkMark Vanilla Staff
    That sounds like a nice extension...
  • Options
    Did anything ever come of this?
This discussion has been closed.