Search Refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RangeBob
    Senior Member
    • Mar 2014
    • 121903

    #1

    Search Refresh

    I suspect the indexing of posts is running more infrequently than normal.
    My search won't turn up anything more recent than 24 hours ago.
  • Doug_M
    Senior Member
    • Feb 2013
    • 16046

    #2
    Is there even an indexing? Doesn't it just directly search the database?
    Our freedoms ARE the greater good.

    Comment

    • Rory McCanuck
      Super Moderator
      • Apr 2012
      • 15071

      #3
      I noticed that too.
      Don't blame me, I didn't vote for that clown. Oct 20, '15
      I didn't vote for that Mr. Burns clown either. Apr 28, '25

      Comment

      • linung
        Senior Member
        • Apr 2017
        • 3083

        #4
        Originally posted by Doug_M View Post
        Is there even an indexing? Doesn't it just directly search the database?
        indexing is a must.
        Member of CWTF, NDA, CSSA, OFAH



        I am a reloader, because I like the freedom to shoot without limits.
        all I gotta do is load MOAR!!!!!

        Comment

        • jwirecom109
          GOC Co-Founder
          • Mar 2012
          • 11392

          #5
          Change a few settings, Let me know if its still a problem


          Welcome to GOC, Site for honest, hardworking Canadians, that own firearms.

          Comment

          • RangeBob
            Senior Member
            • Mar 2014
            • 121903

            #6
            It's working again.
            I just searched for "settings" and found post #5 in this thread, which was 3 minutes ago.
            Good good.

            Comment

            • RangeBob
              Senior Member
              • Mar 2014
              • 121903

              #7
              Originally posted by Doug_M View Post
              Is there even an indexing? Doesn't it just directly search the database?
              I assume the forum software includes something like Lucene/SOLR, which would have posts sent to it every ten minutes or so.
              Searches would sent to Lucene, which would return the best matching posts, which in turn are presented from the database.

              Comment

              • Doug_M
                Senior Member
                • Feb 2013
                • 16046

                #8
                Originally posted by linung View Post
                indexing is a must.
                Yes but it is done at the database level (concurrent with the text of the posts themselves) with indexed fields as opposed to some "web crawler" that creates a separate database or table of indexed data.
                Our freedoms ARE the greater good.

                Comment

                • Doug_M
                  Senior Member
                  • Feb 2013
                  • 16046

                  #9
                  Originally posted by RangeBob View Post
                  I assume the forum software includes something like Lucene/SOLR, which would have posts sent to it every ten minutes or so.
                  Searches would sent to Lucene, which would return the best matching posts, which in turn are presented from the database.
                  Those are really fast. I remember when I posted the LGR that La Presse had it was on a PostgreSQL database. Search wasn't slow but it wasn't fast. Then someone (sorry, can't remember your name if you're still here) did the same but used Lucene (or SOLR) and it was near instant. See http://gank.ca/lgr

                  Still I assume that would be a custom solution for VB and that VB would have a built-in search that just used the database's existing indexed columns. I've never installed or managed VB though so I'm just guessing based off other systems like Wordpress.
                  Our freedoms ARE the greater good.

                  Comment

                  • RangeBob
                    Senior Member
                    • Mar 2014
                    • 121903

                    #10
                    Originally posted by Doug_M View Post
                    Yes but it is done at the database level (concurrent with the text of the posts themselves) with indexed fields as opposed to some "web crawler" that creates a separate database or table of indexed data.
                    Not with large text fields with multiple words (sentences, paragraphs).
                    Typical database indexes, such as b-tree (or n-ary-tree), work well with single values;
                    but with a typical database index, finding a word within a sentence means a table scan rather than using the index.

                    Inverted indexes -- such as Lucine, or Oracle Text, or Word-In-Text, or similar -- work well with sentences and documents. But they're often performed asynchronously outside of the database and well after the commit, often several minutes later. And apparently the past couple of days until jwirecom109 fixed it, the inverted index was not being updated at all, even though the posts were still visible within threads.

                    Comment

                    • RangeBob
                      Senior Member
                      • Mar 2014
                      • 121903

                      #11
                      Originally posted by Doug_M View Post
                      Then someone (sorry, can't remember your name if you're still here) did the same but used Lucene (or SOLR) and it was near instant. See http://gank.ca/lgr
                      alter3d


                      SOLR is leverages Lucene.
                      Considering how it works, it's surprising that it offers acceptable performance, but it does.

                      Comment

                      Working...
                      X