0

I am using a synonym text file to define synonyms for my search index. If I update this file, I have to stop and start the windows service before the new additions take effect..

Is there a way I can cause my index to be refreshed dynamically? I am using NEST, but can of course make direct HTTP request to my index end point if needed.

mp3duck
  • 2,633
  • 7
  • 26
  • 40

1 Answers1

2
  1. close index client.CloseIndex(indexName);
  2. make changes
  3. Open index client.OpenIndex(indexName);

I belive this should work.

Hope it helps.

Rob
  • 9,664
  • 3
  • 41
  • 43