Author: sevein
Date: Mon Jun 4 18:17:09 2012
New Revision: 11726
Log:
Change the order in what the objects are indexed
Modified:
branches/2.0/plugins/qtElasticSearchPlugin/lib/qtElasticSearchPlugin.class.php
Modified:
branches/2.0/plugins/qtElasticSearchPlugin/lib/qtElasticSearchPlugin.class.php
==============================================================================
---
branches/2.0/plugins/qtElasticSearchPlugin/lib/qtElasticSearchPlugin.class.php
Mon Jun 4 17:15:10 2012 (r11725)
+++
branches/2.0/plugins/qtElasticSearchPlugin/lib/qtElasticSearchPlugin.class.php
Mon Jun 4 18:17:09 2012 (r11726)
@@ -238,6 +238,14 @@
}
}
+ // information objects
+ if (!in_array('ios', $skips))
+ {
+ self::$counter = 0;
+ $this->logger->log('Indexing Information Objects...', 'qtElasticSearch');
+ $total = $total + $this->populateInformationObjects($options);
+ }
+
// terms
if (!in_array('terms', $skips))
{
@@ -254,14 +262,6 @@
$total = $total + $this->addActors($options);
}
- // information objects
- if (!in_array('ios', $skips))
- {
- self::$counter = 0;
- $this->logger->log('Indexing Information Objects...', 'qtElasticSearch');
- $total = $total + $this->populateInformationObjects($options);
- }
-
// if there are still documents in the batch queue, send them
if ($this->batchMode && count($this->batchDocs) > 0)
{
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.