<commit_before><!--
    Configuration file for SRCH2 search server. 

    For more information about how to use this configuration file, please
    visit http://www.srch2.com/downloads.html and select the correct
    documentation version.

    Please email <EMAIL> if you have questions.

    This configuration file defines 2 separate cores (data sources) in order to allow testing of
    basic multi-port functionality.  Core1 uses the movie demo database.  Core2 loads a small sample
    of the StackOverflow posts database.
-->
 
<config>
    <srch2Home>./multiport</srch2Home>
        <!-- Make sure to specify the home of your SRCH2 installation.  Example: 
          <srch2Home>/home/joe/srch2</srch2Home>
        -->
 
    <licenseFile>../../conf/srch2_license_key.txt</licenseFile>
 
    <listeningHostname>0.0.0.0</listeningHostname>
    <listeningPort>8087</listeningPort>
    <infoPort>8088</infoPort>

    <!-- moved from <query> which is now per core -->
    <maxSearchThreads>2</maxSearchThreads>
        
    <!-- Testing multiple cores here -->
    <cores defaultCoreName="core1">
        <core name="core1">
            <dataFile>movie-data.json</dataFile>
            <dataDir>core1</dataDir>
            <dataSourceType>1</dataSourceType>
	    <infoPort>8088</infoPort>
            <indexConfig><commit_msg>Removed global <infoPort> setting, as it is not valid unless a data source is provided at the global (directly beneath <config>) scope.<commit_after><!--
    Configuration file for SRCH2 search server. 

    For more information about how to use this configuration file, please
    visit http://www.srch2.com/downloads.html and select the correct
    documentation version.

    Please email <EMAIL> if you have questions.

    This configuration file defines 2 separate cores (data sources) in order to allow testing of
    basic multi-port functionality.  Core1 uses the movie demo database.  Core2 loads a small sample
    of the StackOverflow posts database.
-->
 
<config>
    <srch2Home>./multiport</srch2Home>
        <!-- Make sure to specify the home of your SRCH2 installation.  Example: 
          <srch2Home>/home/joe/srch2</srch2Home>
        -->
 
    <licenseFile>../../conf/srch2_license_key.txt</licenseFile>
 
    <listeningHostname>0.0.0.0</listeningHostname>
    <listeningPort>8087</listeningPort>

    <!-- moved from <query> which is now per core -->
    <maxSearchThreads>2</maxSearchThreads>
        
    <!-- Testing multiple cores here -->
    <cores defaultCoreName="core1">
        <core name="core1">
            <dataFile>movie-data.json</dataFile>
            <dataDir>core1</dataDir>
            <dataSourceType>1</dataSourceType>
	    <infoPort>8088</infoPort>
            <indexConfig>
{'fraction_non_alphanumeric': 0.1037117903930131, 'fraction_numerical': 0.022561863173216887, 'mean_word_length': 2.82336578581363, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1367486', 'n_tokens_mistral': 822, 'n_tokens_neox': 777, 'n_words': 233}