Active
Project:
The eXtensible Catalog (XC) Drupal Toolkit
Version:
6.x-1.1-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2011 at 06:54 UTC
Updated:
5 Aug 2011 at 07:11 UTC
I need some help with these two different tasks in XC. Here is my current understanding of them.
Reindexing
1. Reindex totally indexes all the records over again for all the metadata records coming from the same source.
2. The functions are defined in xc_index.module.
3. The reindex uses xc_solr_xc_store($data, $locations); in order to store metadata into Solr
One Stop Indexer
1. One Stop Indexer works by indexing all the records that have been harvested or haven't been indexed.
2. It is defined in xc_solr.module.
3. It re indexes using xc_solr_metadata_to_solr_iterate_indexes() from xc_solr.index.inc
Please let me know which one should be used for what purposes.
Comments
Comment #1
than_hs commentedOh, I finally figured it out. Both reindexing and one stop indexing finally uses xc_solr_metadata_to_solr_iterate_indexes() .