Task #6886

Make CLI switches consistent between importing CSV / XML

Added by Mike Gale almost 8 years ago. Updated almost 8 years ago.

Status:VerifiedStart date:06/24/2014
Priority:LowDue date:
Assignee:Dan Gillean% Done:

0%

Category:Import/Export
Target version:Release 2.1.0
Google Code Legacy ID: Tested version:2.0.1, 2.1
Sponsored:No Requires documentation:

Description

Currently in csv:import indexing is off by default and --index enables it.

In import:bulk for XML, indexing is ON by default and one needs to set --noindex=1 to disable it. It'd be better if these switches were consistent! I'd prefer the csv:import way of doing it.

History

#1 Updated by Mike Gale almost 8 years ago

Pushed a patch

#2 Updated by Dan Gillean almost 8 years ago

  • Status changed from QA/Review to Verified
  • Tested version 2.0.1, 2.1 added

Tested. Default for both csv:import and import:bulk CLI actions is now NOT to index. User can either use the --index flag to enable indexing after import while running the command, or, manually run the command to populate the search index (php symfony search:populate) after the import is complete.

Also available in: Atom PDF