Blacklight Plugin

rake task to index test data doesn't work at app level

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.5
  • Component/s: None
  • Description:
    rake task for indexing test data should work at both the plugin and application level.

Activity

Hide
Jonathan Rochkind added a comment - 05/Apr/10 4:22 PM
I emailed this to Jessie, but realized I should add it here to model good JIRA behavior, and leave a paper trail on the issue.

So you totally don't need to worry about my seperate rake task for
solrmarc indexing; I thought it might be more convenient to use it, but
sounds like not, it would just less be less convenient. Some day the
two rake tasks should probably be merged to DRY things up, since they
both do essentially the same thing. But that day does not need to be
today. Meanwhile fixing the installation process is obviously a high
priority.

As far as adding the rails environment dependency to the rake task, the
only consequence will be that the rake task will take a lot longer to
start, and possibly take more memory to run, since it essentially loads
the whole Rails application before running. Probably not a big deal,
since this test data index script is going to be run only rarely (on
installation, and if the test data changes).
Show
Jonathan Rochkind added a comment - 05/Apr/10 4:22 PM I emailed this to Jessie, but realized I should add it here to model good JIRA behavior, and leave a paper trail on the issue. So you totally don't need to worry about my seperate rake task for solrmarc indexing; I thought it might be more convenient to use it, but sounds like not, it would just less be less convenient. Some day the two rake tasks should probably be merged to DRY things up, since they both do essentially the same thing. But that day does not need to be today. Meanwhile fixing the installation process is obviously a high priority. As far as adding the rails environment dependency to the rake task, the only consequence will be that the rake task will take a lot longer to start, and possibly take more memory to run, since it essentially loads the whole Rails application before running. Probably not a big deal, since this test data index script is going to be run only rarely (on installation, and if the test data changes).

People

Dates

  • Created:
    24/Mar/10 12:25 PM
    Updated:
    13/Apr/10 7:00 PM
    Resolved:
    13/Apr/10 7:00 PM