Class FullIndexationController


  • @RestController
    @RequestMapping(path="/indexer-api/v1/full")
    public class FullIndexationController
    extends Object
    • Constructor Detail

      • FullIndexationController

        public FullIndexationController()
    • Method Detail

      • startImport

        @GetMapping("/start/{indexName}")
        public org.springframework.http.ResponseEntity startImport​(@PathVariable("indexName")
                                                                   String indexName,
                                                                   @RequestParam("locale")
                                                                   String locale)
      • add

        @PostMapping("/add")
        public org.springframework.http.ResponseEntity<Integer> add​(@RequestBody
                                                                    BulkImportData data)
                                                             throws Exception
        Add products to import into current session.
        Parameters:
        data - BulkImportData that contains the ImportSession that was created at the start of the import plus one or more documents to be indexed
        Throws:
        Exception
      • cancel

        @PostMapping("/cancel")
        public org.springframework.http.ResponseEntity<Void> cancel​(@RequestBody
                                                                    ImportSession session)