<commit_before>Getting Started
---------------
The Exposed faceting system can be tested with the standard Solr example the following way:

1. Run 'ant run-example' in the solr folder.


2. Start Solr from the example folder with
   java -jar -start.jar


3. Use the Tcl script facet_samples.tcl from contrib/exposed to create sample data:
tcl ./facet_samples.tcl 100000 2 2 4 > 100000.csv


4. Index the sample data with curl:
curl "http://localhost:8983/solr/update/csv?commit=true&optimize=true" --data-binary @100000.csv -H 'Content-type:text/csv; charset=utf-8'


5. Verify that the data is indexed with Solr's standard non-hierarchical faceting
http://localhost:8983/solr/select/?facet=true&facet.field=path_ss&q=*%3A*&fl=id&indent=on
A large facet output for path_sss hould be present.

<commit_msg>Updated readme for exposed solr<commit_after>Getting Started
---------------
The Exposed faceting system can be tested with the standard Solr example the following way:

1. Run 'ant run-example' in the solr folder.


2. Start Solr from the example folder with
   java -jar -start.jar


3. Use the Tcl script facet_samples.tcl from contrib/exposed to create sample data:
tclsh ./facet_samples.tcl 100000 2 2 4 > 100000.csv
If tcl is not available, a sample must be created by other means. 
The csv-format is very simple. Below there it 2 documents, named 1 and 2.
Each document has 4 paths of 3 levels each:

 id,path_ss,path_ss,path_ss,path_ss
 1,L0_T1/L1_T1/L2_T1,L0_T1/L1_T1/L2_T2,L0_T1/L1_T1/L2_T3,L0_T1/L1_T1/L2_T4
 2,L0_T3/L1_T5/L2_T17,L0_T3/L1_T5/L2_T18,L0_T3/L1_T5/L2_T19,L0_T3/L1_T5/L2_T20


4. Index the sample data with curl:
curl "http://localhost:8983/solr/update?commit=true" --data-binary @100000.csv -H 'Content-type:text/csv; charset=utf-8'


5. Verify that the data is indexed with Solr's standard non-hierarchical faceting
http://localhost:8983/solr/select/?facet=true&facet.field=path_ss&q=*%3A*&fl=id&indent=on
A large facet output for path_sss hould be present.


{'fraction_non_alphanumeric': 0.10753768844221105, 'fraction_numerical': 0.06582914572864322, 'mean_word_length': 4.184895833333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4416339', 'n_tokens_mistral': 821, 'n_tokens_neox': 732, 'n_words': 225}