Nexus REST search

Hi,

I’m using the REST API to obtain download url’s and it was working fine a week ago. Today when I tried it again, the search returned empty results. In the end it turned out that I had to re-index the repo, which then caused the search to work properly again.

My questions is this: will I have to keep re-indexing the repo or was the index cleared due to some other activity? How do I ensure the search returns results?

Thanks

Divan

You should never have to re-index, that is a repair operation, and is not needed during normal operation. Check your logs, it is likely something happened that caused the elasticsearch indexes to become corrupt, such as a disk filling up.

Ok, great, thanks for the quick response.