title: How to set TIKA_SERVER_ENDPOINT from tika-python lib
body: <p>The excellent lib tika-python in its documentation at <a href="https://github.com/chrismattmann/tika-python" rel="nofollow noreferrer">https://github.com/chrismattmann/tika-python</a> shows that it is possible to set the tika_server.jar file to avoid downloading with each use of the algorithm. Has anyone done this and can post the configuration?</p>
  
  <p>The first time the algorithm is used, tika_server.jar is downloaded so that lib can use it. I want to avoid this download by setting the file locally.</p>
  
  <h1>Extract text from PDF</h1>
  
  <pre class="lang-py prettyprint-override"><code>def extraiPDF(f):
      resultado = []
      tika.TikaClientOnly = True
      raw = parser.from_file(f)
      metadados = raw["metadata"]
      conteudo  = raw["content"] 
      conteudo  = (conteudo).replace('\n', '').replace('\r\n', '').replace('\r', '').replace('\\', '').replace('\t', ' ')
      resultado.append(conteudo)
      resultado.append(metadados)
      return resultado
  </code></pre>