Revision 7477
Added by ben leinfelder almost 12 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
2489 | 2489 |
boolean useXMLIndex = (new Boolean(PropertyService |
2490 | 2490 |
.getProperty("database.usexmlindex"))).booleanValue(); |
2491 | 2491 |
if (useXMLIndex) { |
2492 |
|
|
2493 |
// make sure we don't have a pending index task |
|
2494 |
removeDocidFromIndexingQueue(docid, String.valueOf(rev)); |
|
2495 |
|
|
2492 | 2496 |
double start = System.currentTimeMillis()/1000; |
2493 | 2497 |
// Delete index for the old version of docid |
2494 | 2498 |
// The new index is inserting on the next calls to DBSAXNode |
Also available in: Unified diff
remove indexing task from the queue when we are updating the document