Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip document during indexing if error occurs #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 4, 2019

  1. skip error during indexing

    When an error is returned by search3-java, we handle it by throwing a
    generic bad_request exception. This is the error handling path for both
    search and indexing requests. During indexing however, the exception is
    not caught and it leads to a search_worker_manager process crash. The
    process is restarted by the search3_sup supervisor and the indexing
    begins again. This leads to an endless loop of trying to index the same
    document if the documents causes some sort of error. We modify this
    behavior by catching the thrown exception and ignoring the document.
    tonysun83 committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    5e40b5b View commit details
    Browse the repository at this point in the history