<commit_before>class Solr < Formula
  desc "Enterprise search platform from the Apache Lucene project"
  homepage "https://solr.apache.org/"
  url "https://www.apache.org/dyn/closer.lua?path=lucene/solr/8.11.0/solr-8.11.0.tgz"
  mirror "https://archive.apache.org/dist/lucene/solr/8.11.0/solr-8.11.0.tgz"
  sha256 "ba69bffc624e5c1e35b3b2e0929d82f2ba7871d7ba5941f202c2b97945eb730c"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "05fa5d11df5c036aade9a389d1231e159074ab64b8276adf05c675ecd7ddb538"
  end

  depends_on :macos # test failed on linux
  depends_on "openjdk"

  def install
    pkgshare.install "bin/solr.in.sh"
    (var/"lib/solr").install "server/solr/README.txt", "server/solr/solr.xml", "server/solr/zoo.cfg"
    prefix.install %w[contrib dist server]
    libexec.install "bin"<commit_msg>solr: update 8.11.0 bottle.<commit_after>class Solr < Formula
  desc "Enterprise search platform from the Apache Lucene project"
  homepage "https://solr.apache.org/"
  url "https://www.apache.org/dyn/closer.lua?path=lucene/solr/8.11.0/solr-8.11.0.tgz"
  mirror "https://archive.apache.org/dist/lucene/solr/8.11.0/solr-8.11.0.tgz"
  sha256 "ba69bffc624e5c1e35b3b2e0929d82f2ba7871d7ba5941f202c2b97945eb730c"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "b433e41513242eb4e967c5bb04367327fb1cfb91ac379bbc33b4ee80fd8b52d9"
  end

  depends_on :macos # test failed on linux
  depends_on "openjdk"

  def install
    pkgshare.install "bin/solr.in.sh"
    (var/"lib/solr").install "server/solr/README.txt", "server/solr/solr.xml", "server/solr/zoo.cfg"
    prefix.install %w[contrib dist server]
    libexec.install "bin"
{'fraction_non_alphanumeric': 0.12796208530805686, 'fraction_numerical': 0.1226303317535545, 'mean_word_length': 4.3619047619047615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1947739', 'n_tokens_mistral': 824, 'n_tokens_neox': 722, 'n_words': 106}