I have a master branch in my code repository. To enable code search we use elastic search. Any time a new branch is created it needs to be made searchable, which mean indexing that branch of code. Since when the branch is created, it is a copy of the master branch, I would like to copy the index of master branch and associate the copy to the new branch. It is like doing a file copy and then creating a pointer from new repository to this index. Couple of questions
- Is this possible?
- A lot of places I have read about re-index api. Will the re-index go through the processing of indexing or would it just copy the index?