equal
deleted
inserted
replaced
243 Automatically reorder documents tags. For each documents treated, each tag of the document is scored according to the fields definition in the bundle configuration. The sorting of the tags is done document by document according to these scores. |
243 Automatically reorder documents tags. For each documents treated, each tag of the document is scored according to the fields definition in the bundle configuration. The sorting of the tags is done document by document according to these scores. |
244 |
244 |
245 ### wikitag:sync-doc |
245 ### wikitag:sync-doc |
246 Synchronize the wikiTag Bundle documents with the host bundle. This synchronization is made according to the fields defined in the bundle configuration. |
246 Synchronize the wikiTag Bundle documents with the host bundle. This synchronization is made according to the fields defined in the bundle configuration. |
247 |
247 |
|
248 ### wikitag:load-fixtures |
|
249 Allow loading of fixtures to populate the database. |
|
250 The wikitag document table must exist and be synchronized. There fore the following commands must have been executed: |
|
251 + php app/console wikitag:generate-document-class |
|
252 + php app/console wikitag:sync-doc |
|
253 The wikitag\_document.external\_id field must match the datasheet field fo the taggedsheet table. |
|
254 This command import in order categories, tags and documents\_tags. |
|
255 you may have memory problem. In this case you can import data by slices. Here is an example: |
|
256 + all categories : php app/console wikitag:load-fixtures -C /path/to/data.json |
|
257 + all tags : php app/console wikitag:load-fixtures -T /path/to/data.json |
|
258 + 20000 first doctags: php app/console wikitag:load-fixtures -D -E 20000 /path/to/data.json |
|
259 + 20000 other doctags: php app/console wikitag:load-fixtures -D -B 20001 -E 40000 /path/to/data.json |
|
260 + last doctags: php app/console wikitag:load-fixtures -B 40001 /path/to/data.json |
|
261 |
|
262 The -B (index Begin) and -E 9index End) works alson on the tags. Therefore you cans import tags also in slices. |
|
263 |