Issue Details (XML | Word | Printable)

Key: MDL-12271
Type: Bug Bug
Status: In Progress In Progress
Priority: Minor Minor
Assignee: Valery Fremaux
Reporter: Matt Gibson
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

global search indexing stopped at wiki_get_content_for_index using nwiki 2.0

Created: 20/Nov/07 07:06 PM   Updated: 02/May/08 05:39 AM
Return to search
Component/s: Global search
Affects Version/s: 1.9
Fix Version/s: None

Issue Links:
Dependency
Relates
 

Participants: Matt Gibson and Valery Fremaux
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Matt Gibson added a comment - 20/Nov/07 07:12 PM
Just realised, its 87 because many of my docs are pdf.

Matt Gibson made changes - 21/Nov/07 05:30 PM
Field Original Value New Value
Link This issue will help resolve MDL-8074 [ MDL-8074 ]
Valery Fremaux added a comment - 21/Nov/07 06:17 PM
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.


Matt Gibson added a comment - 21/Nov/07 07:02 PM
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?


Matt Gibson added a comment - 21/Nov/07 07:06 PM
[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

Matt Gibson made changes - 22/Nov/07 05:59 AM
Link This issue is blocked by MDL-12306 [ MDL-12306 ]
Matt Gibson made changes - 22/Nov/07 05:59 AM
Link This issue is blocked by MDL-12306 [ MDL-12306 ]
Matt Gibson made changes - 22/Nov/07 06:00 AM
Link This issue has been marked as being related by MDL-12306 [ MDL-12306 ]
Martin Dougiamas made changes - 17/Apr/08 12:16 PM
Component/s Global search [ 10300 ]
Component/s Other [ 10063 ]
Component/s Wiki [ 10079 ]
Martin Dougiamas made changes - 17/Apr/08 12:17 PM
Assignee Martin Dougiamas [ dougiamas ] Valery Fremaux [ vf ]
Matt Gibson added a comment - 18/Apr/08 06:22 PM
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.

Valery Fremaux added a comment - 19/Apr/08 01:36 AM
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.


Valery Fremaux made changes - 19/Apr/08 01:36 AM
Status Open [ 1 ] In Progress [ 3 ]
Valery Fremaux made changes - 02/May/08 05:39 AM
Link This issue will be resolved by MDL-14646 [ MDL-14646 ]