Moodle

global search indexing stopped at wiki_get_content_for_index using nwiki 2.0

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Global search
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

I ran the indexer and found that not only did it stop at wiki_get_content_for_index, but that resource_get_content_for_index only went through 87 documents out of several hundred.

Issue Links

Activity

Hide
Matt Gibson added a comment -

Just realised, its 87 because many of my docs are pdf.

Show
Matt Gibson added a comment - Just realised, its 87 because many of my docs are pdf.
Hide
Valery Fremaux added a comment -

Check indexation of physical documents is enabled in the search block sitewide parameters.

Than check if pathes to pdf to text converter are OK.

For the nwiki issue it may be understandable. The document_wiki.php relies on the legacy wiki of Moodle, not nwiki, that should be studied apart.

Just give me few information if you have time on how switching to nwiki and I'll do whats needed for it.

Show
Valery Fremaux added a comment - Check indexation of physical documents is enabled in the search block sitewide parameters. Than check if pathes to pdf to text converter are OK. For the nwiki issue it may be understandable. The document_wiki.php relies on the legacy wiki of Moodle, not nwiki, that should be studied apart. Just give me few information if you have time on how switching to nwiki and I'll do whats needed for it.
Hide
Matt Gibson added a comment -

I'd missed the setting for searching docs. Thanks

However, the binaries for the pdf and doc converters were not present on my system using 1.9 beta 2 CVS, so they need to be put into lib. Documents indexed fine after that.

Not sure what info you need for nwiki. I can give php error log stuff?

Show
Matt Gibson added a comment - I'd missed the setting for searching docs. Thanks However, the binaries for the pdf and doc converters were not present on my system using 1.9 beta 2 CVS, so they need to be put into lib. Documents indexed fine after that. Not sure what info you need for nwiki. I can give php error log stuff?
Hide
Matt Gibson added a comment -

[21-Nov-2007 11:00:45] PHP Fatal error: Call to undefined function wiki_get_entries() in C:\MoodleWindowsInstaller-latest-16\moodle\moodle\search\documents\wiki_document.php on line 159

Show
Matt Gibson added a comment - [21-Nov-2007 11:00:45] PHP Fatal error: Call to undefined function wiki_get_entries() in C:\MoodleWindowsInstaller-latest-16\moodle\moodle\search\documents\wiki_document.php on line 159
Hide
Matt Gibson added a comment -

Could a simple admin setting be added that would allow switching on/off of the indexing of each document type? this would at least allow my indexing to complete properly.

Show
Matt Gibson added a comment - Could a simple admin setting be added that would allow switching on/off of the indexing of each document type? this would at least allow my indexing to complete properly.
Hide
Valery Fremaux added a comment -

This sounds to me a good idea, I will spend some time to review the search sub plugin model, so we could enable or disable all document types separately for indexing.

The other major benefit I see on that is that we might allow making an incremental primo indexation, enabling some doctypes first, that progressively let the cron index successively other types.

This answer a query about the possibly very long time the engine spent in primo-indexation.

Show
Valery Fremaux added a comment - This sounds to me a good idea, I will spend some time to review the search sub plugin model, so we could enable or disable all document types separately for indexing. The other major benefit I see on that is that we might allow making an incremental primo indexation, enabling some doctypes first, that progressively let the cron index successively other types. This answer a query about the possibly very long time the engine spent in primo-indexation.
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: