Indexing Behavior - Is this a feature or a bug?

David Bailey
David Bailey Member Posts: 654 ✭✭
edited November 2024 in English Forum

Whenever I download a new resource, I merge the index files (using the command Merge Index).  I let it run its course.  Today, however, I had to pause the index and shutdown my computer.  The index time remaining was 4 minutes when I had to pause the indexing.

Later in the day, when I started up my computer, Logos 4 began indexing automatically.  Great. But this time, the index message says "5 hours remaining"! What is supposed to happen when you pause index and resume it later?  It seems that my index file for Logos 4 was deleted completely?  Is the software building my index from scratch? How do I check that?

thanks,

David

Comments

  • Kevin Becker
    Kevin Becker Member Posts: 5,604 ✭✭✭

    The indexer cannot survive a restart.

    Pause and then hibernate or put the computer in standby.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,298

    Whenever I download a new resource, I merge the index files (using the command Merge Index). 

    Why? That's hard work for the computer CPU and hard drive.

    It seems that my index file for Logos 4 was deleted completely?  Is the software building my index from scratch? How do I check that?

    After so many merges (20+) the Indexer will perform a Rebuild. The only way to know is to switch on logging and look at the Logos4Indexer.log.

    Dave
    ===

    Windows 11 & Android 13

  • David Bailey
    David Bailey Member Posts: 654 ✭✭

    The indexer cannot survive a restart.

    Pause and then hibernate or put the computer in standby.

    Thanks, Kevin, that's good to know.

     

  • David Bailey
    David Bailey Member Posts: 654 ✭✭

    Why? That's hard work for the computer CPU and hard drive.

    I like hardworking computers  [;)]

    I thought there were at least two index files in Logos 4?  What is the purpose of the merge command?

     

    After so many merges (20+) the Indexer will perform a Rebuild. The only way to know is to switch on logging and look at the Logos4Indexer.log.

    I didn't know that.  I guess I will stop merging my index files each time I download a new resource.

     

    Thanks,

    David

  • Dave Hooton
    Dave Hooton MVP Posts: 36,298

    I thought there were at least two index files in Logos 4?  What is the purpose of the merge command?

    There is a Bible index  for Bibles only (in a folder under \Logos4\Data\ called \BibleIndex) and there is a Library index  for all resources (in \LibraryIndex). The Bible Index is small enough to be automatically merged after every bible download, but the Library Index comprises two indexes and the smaller Supplemental index is indexed with every download. When it grows to a certain size the Indexer will merge the two indexes into one!

    By manually merging with every download you are affecting only the Library index as the Bible Index is automatically merged (by the Indexer).

    The Indexer log will tell you how many resources are in the Supplemental index and I let it grow to about 30 before thinking about a merge or rebuild.

    To complete the picture then:

    • Resources are added to the Supplemental Library index and indexed with the resources already there
    • Basic Search has to use both Library indexes to get its results but the extra time is negligible
    • Bible Search use the Bible Index
    • Morph Search is complicated because it also searches non-bibles!?

    Dave
    ===

    Windows 11 & Android 13

  • David Bailey
    David Bailey Member Posts: 654 ✭✭

    Thanks, Dave, for the explanation. I can't keep these index rules in my head - are they found in the wiki also?  I recall that in previous versions of Logos 4 software, I was prompted to merge newly installed updates to, I think, the Supplemental library index.  I can't remember exactly the words, but the message appeared in a search window of L4.

    David

  • Dave Hooton
    Dave Hooton MVP Posts: 36,298

    Thanks, Dave, for the explanation. I can't keep these index rules in my head - are they found in the wiki also? 

    I just updated the wiki with the main facts from above.

    Dave
    ===

    Windows 11 & Android 13