+ Reply to Thread
Results 1 to 8 of 8

Thread: Lucene rebuild issue

  1. #1
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Question Lucene rebuild issue

    Some years ago I noticed that Lucene wouldn't finish indexing in a rebuild. Since then I anxiously refrained from rebuilding the index.
    A couple of days ago we finally tried.. Unfortunately the indexing problem doesn't seem resolved in our current version (10.1.0). Although it indexed quite a lot, it failed to index the page titles. A major issue in everyday searching.
    Would upgrading to 10.1.3 resolve the problem?

    I also consider restoring the old index out of a backup tar. What files would I have to restore?

    Thanks!
    Aart-Jan

  2. #2
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Default

    Kind of stupid to post my own answer, but maybe ticket 9950 addressed the issue?

  3. #3
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    That issue was about re-indexing taking down a site if there was too much content since it tried to do everything at once.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  4. #4
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Default

    Our wiki is upgraded now to the most recent version, but the problem remains, indeed.
    Any suggestions what to do?

  5. #5
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Default

    It is unfortunate that no one seems to have any idea what to do. :-(
    It is a major setback for the adaptation of my dekiwiki; people rely on the search engine to navigate our 6K+ pages and may reconsider using it when the search engine cannot even find page titles.

    I did notice that page edits invoke a re-indexation of a page. I Would it be possible to use some kind of finger/touch command to run through all pages? I do have the possibility to do it with my own code.

  6. #6
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Looking at the API documentation, there is a POST http://servername/@api/deki/pages/{pageid}/index?apikey=APIKEY operation to tell the search engine to just reindex that one page. You could write a script that gets all page IDs from the db, then issues the page re-index operation in batches so as to not overwhelm the full reindex operation.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  7. #7
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Default

    Quote Originally Posted by SteveB View Post
    Looking at the API documentation, there is a POST http://servername/@api/deki/pages/{pageid}/index?apikey=APIKEY operation to tell the search engine to just reindex that one page. You could write a script that gets all page IDs from the db, then issues the page re-index operation in batches so as to not overwhelm the full reindex operation.
    I will give this a try. Thanks!

  8. #8
    Join Date
    Oct 2007
    Location
    Amsterdam, the Netherlands
    Posts
    105

    Default

    I got it working! In my home dekiwiki I did not need the apikey flag and my work dekiwiki I did. Don't quite understand why that is. But I am getting search results!!! :-)
    Is there an api command that returns the api key?

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts