<commit_before>====================================
Application Configuration
====================================

**Much of the Dataverse Application configuration is done by the automated installer (described above). This section documents the additional configuration tasks that need to be done after you run the installer.** 

.. _introduction:

Dataverse Admin Account
+++++++++++++++++++++++

Now that you've run the application installer and have your own Dataverse instance, you need to configure the Dataverse Administrator user. 
By default installer pre-sets the Admin credentials as follows:

.. code-block:: none

    First Name: Dataverse
    Last Name:  Admin
    Affiliation: Dataverse.org
    Position: Admin
    Email: <EMAIL>

Log in as the user dataverseAdmin and change these values to suit your installation. 

(Alteratively, you can modify the file ``dvinstall/data/user-admin.json`` in the installer bundle **before** you run the installer). 

Solr Configuration
++++++++++++++++++

Dataverse requires a specific Solr schema file called `schema.xml` that can be found in the Dataverse distribution. It should replace the default `example/solr/collection1/conf/schema.xml` file that ships with Solr.

If ``WARN  org.eclipse.jetty.http.HttpParser  – HttpParser Full for /127.0.0.1:8983`` appears in the Solr log, adding ``<Set name="requestHeaderSize">8192</Set>`` (or a higher number of bytes) to Solr's jetty.xml in the section matching the XPath expression ``//Call[@name='addConnector']/Arg/New[@class='org.eclipse.jetty.server.bio.SocketConnector']`` may resolve the issue.  See also https://support.lucidworks.com/hc/en-us/articles/201424796-Error-when-submitting-large-query-strings-
<commit_msg>default password for dataverseAdmin is "<PASSWORD>"<commit_after>====================================
Application Configuration
====================================

**Much of the Dataverse Application configuration is done by the automated installer (described above). This section documents the additional configuration tasks that need to be done after you run the installer.** 

.. _introduction:

Dataverse Admin Account
+++++++++++++++++++++++

Now that you've run the application installer and have your own Dataverse instance, you need to configure the Dataverse Administrator user. 
By default installer pre-sets the Admin credentials as follows:

.. code-block:: none

    First Name: Dataverse
    Last Name:  Admin
    Affiliation: Dataverse.org
    Position: Admin
    Email: <EMAIL>

Log in as the user dataverseAdmin with the password "<PASSWORD>" and change these values to suit your installation.

(Alteratively, you can modify the file ``dvinstall/data/user-admin.json`` in the installer bundle **before** you run the installer. The password is in ``dvinstall/setup-all.sh``, which references this JSON file.)

Solr Configuration
++++++++++++++++++

Dataverse requires a specific Solr schema file called `schema.xml` that can be found in the Dataverse distribution. It should replace the default `example/solr/collection1/conf/schema.xml` file that ships with Solr.

If ``WARN  org.eclipse.jetty.http.HttpParser  – HttpParser Full for /127.0.0.1:8983`` appears in the Solr log, adding ``<Set name="requestHeaderSize">8192</Set>`` (or a higher number of bytes) to Solr's jetty.xml in the section matching the XPath expression ``//Call[@name='addConnector']/Arg/New[@class='org.eclipse.jetty.server.bio.SocketConnector']`` may resolve the issue.  See also https://support.lucidworks.com/hc/en-us/articles/201424796-Error-when-submitting-large-query-strings-

{'fraction_non_alphanumeric': 0.14253959433175883, 'fraction_numerical': 0.013337038066129481, 'mean_word_length': 5.0606060606060606, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 2, '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': '6125201', 'n_tokens_mistral': 979, 'n_tokens_neox': 908, 'n_words': 383}