Search Help Features within Long Threads and many Posts/Replies - NCRS Discussion Boards

Search Help Features within Long Threads and many Posts/Replies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas S.
    Very Frequent User
    • February 7, 2016
    • 603

    #16
    Re: Search Help Features within Long Threads and many Posts/Replies

    You are 100%correct in that it is all about server load. I've dealt with this at the programing level on a single site basis. The content search text used is applied to a field (user entered post) that is relatively large, contains text combined punctuation. The backend routine has parse out special characters such as dashes, commas, semi-colons, dollar signs, slashes, etc. or you would be less likely to find content.

    There are also "illegal" characters that would conflict with the SQL command language or that could allow execution of undesirable programming code fields.

    Short strings can be searched but there is more to it than just that. There are different kinds of searches. Do you want to find a string (word) that begins with the 3 characters, contains the 3 characters, etc.

    The begins with search is relatively straight forward; you search every post for those 3 characters appearing after a space and stop. Those results are moved to an index, and then you search the next post, and so on.

    The contains means means you have to search every 3-characters in the entire post. which is a lot CPU and disk IO. The service hosting the site likely has many different databases from different organizations with 10 of thousand potential users. If a single server is being use that is a big load. So it's also a matter of hardware, communications bandwidth, etc.

    Finally, if you want to really screw up a site, you can load it up with searches that involve very few characters and automate that process to repeat the inquiries by generating random characters. You'll end up with a denial of service at some point. This is the main reason the searches require a minimum number of characters.

    You have to live with the results as well. You will get exponentially for results each time you reduce the minimum number of characters so the search will likely be less useful. Some sites offer the ability to do an initial search, then a "Search on Results" which is very helpful. The NCRS site is very well structure with a lot of good search / filter options.

    I did post an answer to the 3-character search limit in case it was missed. you can simply type in your 3-characters followed by an asterisk and you will get your results. Search for L88 is entered as L88* Once you get the page results, by pressing Control-F or Command-F on a MAC, you will get a page search and you can find additional content but you would be limited to what appears on the page you are viewing.

    Yes it can be done, but I would be surprised if the service provider would allow it.
    67 427/400 Lynndale Blue Corvette https://online.flippingbook.com/view/750924569

    Comment

    • Mark F.
      Extremely Frequent Poster
      • July 31, 1998
      • 1468

      #17
      Re: Search Help Features within Long Threads and many Posts/Replies

      Originally posted by Thomas Sutcliffe (62028)
      ...Yes it can be done, but I would be surprised if the service provider would allow it.
      Thomas,

      Thank you for your detailed and informed response...nice to know we have "code geeks" and savvy guys on this TDB who can explain this to Luddites like me

      I'll do your short search "3-character+*" in the future to help me find what I want...
      thx,
      Mark

      Comment

      • Richard M.
        Super Moderator
        • August 31, 1988
        • 11302

        #18
        Re: Search Help Features within Long Threads and many Posts/Replies

        Thomas, Thanks for your detailed reply.

        Rich

        Comment

        • Richard M.
          Super Moderator
          • August 31, 1988
          • 11302

          #19
          Re: Search Help Features within Long Threads and many Posts/Replies

          As Gary specified earlier, the FAQ Search Help I wrote years ago has much detail regarding the * wilcard usage with 3 letter combinations. It has specifics for its use. It also describes some of the unusual results one can get.

          In the future it is suggested that users spend the time to study it carefully. I understand it can be cumbersome for some to grasp, often requiring a couple of re-reads to figure it out.The information is there.

          As far as defining certain 3 letter "allowed" combinations, like certain RPO's, etc, I recall would take much time to modify the software. It has been discussed in the past. The workload of the website administrator prevented it from being implemented. The RPO list to add would need definition before anything could happen. That in itself would be a tedious task.

          Rich

          Edit.. Moved here for better placement and to get it out of the TDB.

          Comment

          Working...

          Debug Information

          Searching...Please wait.
          An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

          Please push the back button and reload the previous window.'
          An unexpected error was returned: 'Your submission could not be processed because the token has expired.

          Please push the back button and reload the previous window.'
          An internal error has occurred and the module cannot be displayed.
          There are no results that meet this criteria.
          Search Result for "|||"