Can I reindex a collection?

Kiyah
Kiyah Member Posts: 2,804 ✭✭✭✭
edited November 21 in English Forum

I thought Logos allowed you to reindex a collection, but maybe I just imagined that. Didn't we use to be able to reindex a collection of resources instead of just one resource?

Tagged:

Comments

  • Graham Criddle
    Graham Criddle MVP Posts: 32,473

    Didn't we use to be able to reindex a collection of resources instead of just one resource?

    I don't recall this being a feature at any point

  • Dave Hooton
    Dave Hooton MVP Posts: 35,679

    You can only specify a single resource,. But if you are quick at entering the commands, they could be done in one index session (the abbreviated names would need to be very short e.g. reindex ESV, reindex NASB95, reindex NABRE).

    Dave
    ===

    Windows 11 & Android 13

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    Didn't we use to be able to reindex a collection of resources instead of just one resource?

    I don't recall this being a feature at any point

    You are correct. I went through the commands going back to Logos 6 (when I started using Logos) on the wiki and we've never been able to reindex a collection. Maybe it's just my deep wish and desire to be able to do this that keeps creating a false memory. lol

  • Andrew Batishko
    Andrew Batishko Member, Community Manager, Logos Employee Posts: 5,366

    If your system has some kind of problem that is requiring you to manually reindex more than just a single resource, then there is a bigger problem at work, and you are probably better off reindexing everything anyway.

    Andrew Batishko | Logos software developer

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    If your system has some kind of problem that is requiring you to manually reindex more than just a single resource, then there is a bigger problem at work, and you are probably better off reindexing everything anyway.

    I was thinking about whether to post about that very issue. In this case, if I purchase and download a resource that has already been in my library before (i.e. through a subscription), it doesn't reindex it and I have to reindex it manually. I just got two Mobile Ed courses (8 individual resources total) and Logos did not index them. I wanted to be able to reindex all 8 resources at once and didn't want to have to rebuild my entire index.

    Also, sometimes Logos doesn't index resources that I had in the cloud and then decided to download. I think this is because sometimes Logos starts indexing before I've finished downloading everything I was trying to download.

  • MJ. Smith
    MJ. Smith MVP Posts: 53,132

    Interesting. I have had neither issue you refer to. Verbum consistently keeps everything indexed although timing sometimes makes it a two pass rather than one pass effort.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Dave Hooton
    Dave Hooton MVP Posts: 35,679

    In this case, if I purchase and download a resource that has already been in my library before (i.e. through a subscription), it doesn't reindex it and I have to reindex it manually. I just got two Mobile Ed courses (8 individual resources total) and Logos did not index them.

    They don't need to be reindexed unless it is a newer version. Although a subscription (temporary) resource may be deleted, its index will remain (together with your metadata)! Only when you manually rebuild the entire Index will its indexing be removed.

    Also, sometimes Logos doesn't index resources that I had in the cloud and then decided to download.

    Logos won't index a resource until it has been downloaded, and it won't be indexed if a previous index exists!

    Dave
    ===

    Windows 11 & Android 13

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    They don't need to be reindexed unless it is a newer version. Although a subscription (temporary) resource may be deleted, its index will remain (together with your metadata)! Only when you manually rebuild the entire Index will its indexing be removed.

    I think this is what happened with the mobile ed courses. The resources had been deleted and then at some point I rebuilt the index. The textbooks weren't showing up in my search when they should so I know for sure they weren't properly indexed after I purchased and downloaded them.

    It sounds like I need to never use the "Delete unlicensed resources" command. I've been known to do it to free up space on my hard drive.

  • MJ. Smith
    MJ. Smith MVP Posts: 53,132

    The textbooks weren't showing up in my search when they should so I know for sure they weren't properly indexed after I purchased and downloaded them

    How long did you allow for them to index or did you check that indexing was complete. I've not had this precise senario.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    The textbooks weren't showing up in my search when they should so I know for sure they weren't properly indexed after I purchased and downloaded them

    How long did you allow for them to index or did you check that indexing was complete. I've not had this precise senario.

    It had been at least a day before I actually started using one of the courses after they downloaded. I always allow my computer to stay on and finish indexing. I had downloaded several things and didn't stay in the room so I didn't verify if it was actually indexing the courses. But they had plenty of time and I didn't use them until the following day as I mentioned.

  • Dave Hooton
    Dave Hooton MVP Posts: 35,679

    It sounds like I need to never use the "Delete unlicensed resources" command. I've been known to do it to free up space on my hard drive.

    This isn't an issue. If you have reason to suspect that a resource has not been indexed:-

    • right-click in Library and Remove from this device
    • restart Logos with CTRL key held  (this will ensure deletion of the resource and start logging)
    • right-click in Library and Download
    • after a few minutes check the LogosIndexer log for these messages:
      • "Checking x resources that may have changed since they were last indexed." followed by
      • "No resources need to be indexed."  or "y resources need to be indexed,..."
      • (check against BibleIndex and LibraryIndex)

    Dave
    ===

    Windows 11 & Android 13

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    after a few minutes check the LogosIndexer log for these messages:

    How do I check the LogosIndexer log? Where is it located?

  • Graham Criddle
    Graham Criddle MVP Posts: 32,473

    How do I check the LogosIndexer log? Where is it located?

    See https://wiki.logos.com/Diagnostic_Logging for details

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    I think I just had an a-ha. If I download a book and open it to start reading it while it's still indexing, and then I wait until the indexing is finished to run a search, the search comes up empty as if it hasn't been indexed. If I close and restart Logos after this, the search works. So the search tool doesn't recognize that the resource has been indexed until after a restart.

    However, if I wait until the resource has indexed before opening it, the search recognizes that it's been indexed without me having to restart Logos. Is this behavior that other people have experienced? Is this how Logos is supposed to work or is this a bug?

    But the bottom line is that I think I've been assuming that the books have not properly indexed when all I needed to do was restart Logos.

  • Dave Hooton
    Dave Hooton MVP Posts: 35,679

    But the bottom line is that I think I've been assuming that the books have not properly indexed when all I needed to do was restart Logos.

    It is safe to assume the following whenever you observe the Warning that results may be missing or incomplete in the Search tool:

    1. You will be using an 'old' copy of the Index, so results from new and updated resources will not be included.

    • specifically, you will get zero results from a new resource, but you will get results from the previous version of an updated resource.
    • you can still read a new/updated resource.

    2. When the Warning is removed you will have an updated Index and you will get results from all recently downloaded resources.

    • maybe wait a minute or so, but you should get results from a new resource

    Dave
    ===

    Windows 11 & Android 13

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    It is safe to assume the following whenever you observe the Warning that results may be missing or incomplete in the Search tool:

    1. You will be using an 'old' copy of the Index, so results from new and updated resources will not be included.

    • specifically, you will get zero results from a new resource, but you will get results from the previous version of an updated resource.
    • you can still read a new/updated resource.

    2. When the Warning is removed you will have an updated Index and you will get results from all recently downloaded resources.

    • maybe wait a minute or so, but you should get results from a new resource

    So then if I waited until after the indexing was complete to run a search and there's no warning that the data is incomplete, I should have gotten results without having to restart, correct? So why did I have to restart? I only had the resource open reading it while indexing, not the search window. I then used the selection menu to search on a phrase in the book after the indexing had ended (not sure how long after because I'm not sure exactly when the indexing ended since I was reading). Based on what you've said, I should have gotten a search result without having to restart Logos.

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    I think I just had an a-ha. If I download a book and open it to start reading it while it's still indexing, and then I wait until the indexing is finished to run a search, the search comes up empty as if it hasn't been indexed. If I close and restart Logos after this, the search works. So the search tool doesn't recognize that the resource has been indexed until after a restart.

    However, if I wait until the resource has indexed before opening it, the search recognizes that it's been indexed without me having to restart Logos. Is this behavior that other people have experienced? Is this how Logos is supposed to work or is this a bug?

    But the bottom line is that I think I've been assuming that the books have not properly indexed when all I needed to do was restart Logos.

    Thanks for reporting this. I've filed a bug report.

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    Thanks for reporting this. I've filed a bug report.

    Thanks Philana!

  • Dave Hooton
    Dave Hooton MVP Posts: 35,679

    So then if I waited until after the indexing was complete to run a search and there's no warning that the data is incomplete, I should have gotten results without having to restart, correct?

    Edit: Just saw Philana's response

    But I had performed a couple of tests with new resources and verified that, as soon as the Warning went away, I got results for a word that previously produced no results. I made sure that I used a word from the open resources.

    Dave
    ===

    Windows 11 & Android 13

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    So then if I waited until after the indexing was complete to run a search and there's no warning that the data is incomplete, I should have gotten results without having to restart, correct?

    Edit: Just saw Philana's response

    But I had performed a couple of tests with new resources and verified that, as soon as the Warning went away, I got results for a word that previously produced no results. I made sure that I used a word from the open resources.

    Well, hopefully Philana and team can get to the root of the problem. At least now I know the resources are being properly indexed so that'll save me both time and sanity.

    I do remember a time my Logos used to work like you're describing. I'm not quite sure how long I've been having this problem but I didn't start noticing it until I started keeping some resources in the cloud rather than having them download automatically. I guess that caused me to have to do more downloading and indexing piecemeal and so the problem became more noticeable. 

  • Kiyah
    Kiyah Member Posts: 2,804 ✭✭✭✭

    I think I just had an a-ha. If I download a book and open it to start reading it while it's still indexing, and then I wait until the indexing is finished to run a search, the search comes up empty as if it hasn't been indexed. If I close and restart Logos after this, the search works. So the search tool doesn't recognize that the resource has been indexed until after a restart.

    However, if I wait until the resource has indexed before opening it, the search recognizes that it's been indexed without me having to restart Logos. Is this behavior that other people have experienced? Is this how Logos is supposed to work or is this a bug?

    But the bottom line is that I think I've been assuming that the books have not properly indexed when all I needed to do was restart Logos.

    Thanks for reporting this. I've filed a bug report.

    Is there any update on this bug?

  • Andrew Batishko
    Andrew Batishko Member, Community Manager, Logos Employee Posts: 5,366

    Is there any update on this bug?

    Generally speaking, we don't have any updates to provide until a bug gets fixed and shows up in release notes.

    Andrew Batishko | Logos software developer