lazytown
04-04-2008, 11:42 PM
If you have a lot of posts, you know that users searching your entire post table can cause a significant load. This is one of the reasons why we can turn it off or force guests to use Captcha to search. We can also put limits on how long they have to wait again to search because of this.
However, searching the thread TITLES does not put much of a load on the server and is much much faster (especially once it's cached). I would like to be able to have anyone search the Titles as often as they would like, but have restrictions on searching all the posts (the post table). This seems easy enough to do and I wonder if this could be written as a mod (basically separating what the limits of Captcha or search frequency apply to). I guess some minor template changes might be required as well.
If you have enough posts (2.5 mil in my case), it is actually more beneficial sometimes for them to search titles first and then posts. This is because a title search can sometimes be more relevant and post searches will be limited to 250 (plus the extra bonus of title search being less server intensive).
-vissa
However, searching the thread TITLES does not put much of a load on the server and is much much faster (especially once it's cached). I would like to be able to have anyone search the Titles as often as they would like, but have restrictions on searching all the posts (the post table). This seems easy enough to do and I wonder if this could be written as a mod (basically separating what the limits of Captcha or search frequency apply to). I guess some minor template changes might be required as well.
If you have enough posts (2.5 mil in my case), it is actually more beneficial sometimes for them to search titles first and then posts. This is because a title search can sometimes be more relevant and post searches will be limited to 250 (plus the extra bonus of title search being less server intensive).
-vissa