I harvested some records from an OAI repository using Dublin Core metadata. When I checked my solr server I couldn't find any of my records so I ran cron, but still no joy. Finally I went to the 'Reindex' page and it showed the progress bar before then giving the following error:
warning: Division by zero in modules/xc/xc_index/xc_index.module on line 453.
Comments
Comment #1
pkiraly commentedIn dev the whole indexing strategy was rethought, and I haven't tried harvesting a Dublin Core repository to test it. I hope, that I can do it next week, and I can give you more assistance. The reindex were eliminated in the current dev, but I haven't deleted it. If you still have energy, could you try the 'onestop indexer' (Solr indexing > 'Run one stop indexing')?
Comment #2
stella commentedThe "Run one stop indexing" doesn't give the division by zero error, but nor does it put anything into Solr's search index :(
Comment #3
pkiraly commentedCould you try it from delete records, and harvesting again? Please revisit the harvesting schedule's setting.
Comment #4
dbourrion commentedHi
After using the automatic installation script (amazing, by the way), same problem with "warning: Division by zero in modules/xc/xc_index/xc_index.module on line 453." and as a consequence, nothing in Solr and no results after a search in XC :(
Comment #5
than_hs commentedWe have modified xc_index module a bit so that it will index DC metadata correctly. It is because harvesting and building index of OAI_DC records is our main requirements. The changes we've made may not be suitable for general XC use but if anyone is interested let me know.
Comment #6
pkiraly commentedGreat! Could you submit your changes as a patch?