Bug 66142 - SearchParticipant#scheduleDocumentIndexing() fails silently if index doesn't exist
Summary: SearchParticipant#scheduleDocumentIndexing() fails silently if index doesn't ...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 10:38 EDT by Jerome Lanneluc CLA
Modified: 2004-06-11 10:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2004-06-08 10:38:21 EDT
I20040607

SearchParticipant#scheduleDocumentIndexing(SearchDocument, IPath) schedules a 
job to index the document, but this job won't call 
SearchParticipant#indexDocument(...) if the index doesn't exist.

SearchParticipant#scheduleDocumentIndexing(SearchDocument, IPath) should 
create the index if it doesn't exist.
Comment 1 Jerome Lanneluc CLA 2004-06-08 11:21:46 EDT
Changed SearchParticipant#scheduleDocumentIndexing() to ensure that the index 
exists before scheduling the job. Added regression tests 
SearchParticipantTests#testScheduleDocumentIndexing1() and 
testScheduleDocumentIndexing2()
Comment 2 Olivier Thomann CLA 2004-06-11 10:40:25 EDT
Verified in 200406110010